Albatross.Logging
8.0.0
Prefix Reserved
dotnet add package Albatross.Logging --version 8.0.0
NuGet\Install-Package Albatross.Logging -Version 8.0.0
<PackageReference Include="Albatross.Logging" Version="8.0.0" />
paket add Albatross.Logging --version 8.0.0
#r "nuget: Albatross.Logging, 8.0.0"
// Install Albatross.Logging as a Cake Addin #addin nuget:?package=Albatross.Logging&version=8.0.0 // Install Albatross.Logging as a Cake Tool #tool nuget:?package=Albatross.Logging&version=8.0.0
Albatross.Logging
Quick logging setup for your .Net application using Serilog.
Features
Quick Start
Albatross.Logging
are integrated to the Albatross hosting projects below.
To setup Albatross.Logging
on your own, see the code below:
var logger = new SetupSerilog().Configure(ConfigureLogging).Create();
However, the actual serilog logger is usually not used in the application. It is preferred to use ILogger or ILogger`1 interface so that the bulk of the application is not couple to the serilog library. To setup the connection, use the code below:
var builder = Host.CreateDefaultBuilder();
hostBuilder.UseSerilog(logger);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Configuration.CommandLine (>= 8.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.Configuration.FileExtensions (>= 8.0.1)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.1)
- Serilog (>= 4.1.0)
- Serilog.Enrichers.Environment (>= 3.0.1)
- Serilog.Enrichers.Thread (>= 4.0.0)
- Serilog.Expressions (>= 5.0.0)
- Serilog.Extensions.Hosting (>= 8.0.0)
- Serilog.Settings.Configuration (>= 8.0.4)
- Serilog.Sinks.Console (>= 6.0.0)
- Serilog.Sinks.File (>= 6.0.0)
- Serilog.Sinks.Slack (>= 2.2.2)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Albatross.Logging:
Package | Downloads |
---|---|
Albatross.Hosting
A library for creating .Net Web Api or Service applications with preconfigured settings |
|
Albatross.Hosting.Utility
Wrapper api to create a command line utility using CommandLineParser with dependency injection and serilog logging support. |
|
Albatross.Hosting.Test
hosting framework for test projects |
|
Albatross.CommandLine
An integration library that simplifies the creation of console program using the [System.CommandLine](https://learn.microsoft.com/en-us/dotnet/standard/commandline/) library |
|
Albatross.ReqnrollPlugin
A Reqnroll plugin that can be used to easily create a Reqnroll test assembly preconfigured with configuration, logging and dependency injection |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 66 | 11/22/2024 |
7.5.7 | 65 | 11/11/2024 |
7.5.6 | 49 | 11/8/2024 |
7.5.5 | 48 | 11/7/2024 |
7.5.4 | 37 | 11/7/2024 |
7.4.2 | 76 | 10/8/2024 |
7.4.1 | 49 | 10/5/2024 |
6.1.1 | 324 | 9/18/2023 |
4.0.2 | 856 | 10/18/2022 |
2.8.0 | 898 | 8/11/2021 |
2.3.6 | 848 | 2/23/2021 |
1.6.7 | 4,128 | 9/24/2020 |
1.6.6 | 2,476 | 8/21/2020 |
1.6.5 | 1,268 | 7/30/2020 |
1.6.4 | 694 | 7/30/2020 |
1.6.3 | 963 | 7/29/2020 |
1.6.1 | 725 | 7/27/2020 |
1.6.0 | 924 | 7/12/2020 |
1.5.33 | 1,139 | 7/9/2020 |
Remove reference to `Serilog.Sinks.Email` since its current version contains a vulnerability and it is not used by the package