Tingle.Extensions.Serilog
4.6.0
.NET 7.0
This package targets .NET 7.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Tingle.Extensions.Serilog --version 4.6.0
NuGet\Install-Package Tingle.Extensions.Serilog -Version 4.6.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tingle.Extensions.Serilog" Version="4.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tingle.Extensions.Serilog --version 4.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tingle.Extensions.Serilog, 4.6.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Tingle.Extensions.Serilog as a Cake Addin #addin nuget:?package=Tingle.Extensions.Serilog&version=4.6.0 // Install Tingle.Extensions.Serilog as a Cake Tool #tool nuget:?package=Tingle.Extensions.Serilog&version=4.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tingle.Extensions.Serilog
This library provides convenience extensions and logic for registering Serilog in applications with support for various hosts while setting up basic thins to match the default logging setup in the framework.
This includes:
- Destructuring is enabled/added by default
- Sensitive data masking is enabled/added by default.
- Console and Debug are registered by default.
- Enrichment of the current environment based on
IHostEnvironment
- Conversion of log levels hence you can continue to use the
Logging
section. - SEQ is added by default when
Logging:Seq:ServerUrl
orSeq:ServerUrl
configuration is available. (UseLogging:Seq:ApiKey
orSeq:ApiKey
to set the key). - Registration via
IServiceCollection
andIHostBuilder
(with the defaults above)
Consult the sample or the builder for more on how to use or what happens underneath.
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 is compatible. 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 is compatible. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Serilog.Enrichers.Sensitive (>= 1.7.3)
- Serilog.Exceptions (>= 8.4.0)
- Serilog.Extensions.Hosting (>= 8.0.0)
- Serilog.Formatting.Compact (>= 2.0.0)
- Serilog.Settings.Configuration (>= 8.0.0)
- Serilog.Sinks.Console (>= 5.0.1)
- Serilog.Sinks.Debug (>= 2.0.0)
- Serilog.Sinks.Seq (>= 6.0.0)
-
net7.0
- Serilog.Enrichers.Sensitive (>= 1.7.3)
- Serilog.Exceptions (>= 8.4.0)
- Serilog.Extensions.Hosting (>= 8.0.0)
- Serilog.Formatting.Compact (>= 2.0.0)
- Serilog.Settings.Configuration (>= 8.0.0)
- Serilog.Sinks.Console (>= 5.0.1)
- Serilog.Sinks.Debug (>= 2.0.0)
- Serilog.Sinks.Seq (>= 6.0.0)
-
net8.0
- Serilog.Enrichers.Sensitive (>= 1.7.3)
- Serilog.Exceptions (>= 8.4.0)
- Serilog.Extensions.Hosting (>= 8.0.0)
- Serilog.Formatting.Compact (>= 2.0.0)
- Serilog.Settings.Configuration (>= 8.0.0)
- Serilog.Sinks.Console (>= 5.0.1)
- Serilog.Sinks.Debug (>= 2.0.0)
- Serilog.Sinks.Seq (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.14.1 | 335 | 10/14/2024 |
4.14.0 | 363 | 9/16/2024 |
4.13.0 | 515 | 8/13/2024 |
4.12.0 | 217 | 8/7/2024 |
4.11.2 | 384 | 7/15/2024 |
4.11.1 | 348 | 6/26/2024 |
4.11.0 | 444 | 6/6/2024 |
4.10.1 | 111 | 6/5/2024 |
4.10.0 | 460 | 5/27/2024 |
4.9.0 | 297 | 5/16/2024 |
4.8.0 | 468 | 5/5/2024 |
4.7.0 | 847 | 3/25/2024 |
4.6.0 | 780 | 3/8/2024 |
4.5.0 | 3,625 | 11/22/2023 |
4.4.1 | 303 | 11/20/2023 |
4.4.0 | 371 | 11/15/2023 |
4.3.0 | 1,156 | 10/18/2023 |
4.2.2 | 1,209 | 9/20/2023 |