NetChris.Logging
1.0.444318882-pre
See the version list below for details.
dotnet add package NetChris.Logging --version 1.0.444318882-pre
NuGet\Install-Package NetChris.Logging -Version 1.0.444318882-pre
<PackageReference Include="NetChris.Logging" Version="1.0.444318882-pre" />
paket add NetChris.Logging --version 1.0.444318882-pre
#r "nuget: NetChris.Logging, 1.0.444318882-pre"
// Install NetChris.Logging as a Cake Addin #addin nuget:?package=NetChris.Logging&version=1.0.444318882-pre&prerelease // Install NetChris.Logging as a Cake Tool #tool nuget:?package=NetChris.Logging&version=1.0.444318882-pre&prerelease
NetChris.Logging
// Assuming an existing LoggerConfiguration and IServiceProvider
// Given:
// - Serilog.LoggerConfiguration loggerConfiguration
// - System.IServiceProvider serviceProvider
loggerConfiguration.AddNetChrisLogging(serviceProvider);
IApplicationMetadata
Assuming your application has NetChris.Core.IApplicationMetadata
set up in services (usually through NetChris.AspNetCore.Diagnostics.ApplicationMetadataExtensions.ConfigureApplicationMetadata(string)
), this will automatically be picked up and added to the log messages.
Seq setup
In order for logging to go to Seq, you'll need some configuration keys in environment variables:
Secrets:seq:serverUrl
Secrets:seq:apiKey
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.Logging.Console (>= 6.0.0)
- NetChris.Build.MSBuild (>= 1.1.444315244)
- NetChris.Core (>= 7.0.132)
- Serilog.Extensions.Hosting (>= 4.2.0)
- Serilog.Settings.Configuration (>= 3.3.0)
- Serilog.Sinks.Console (>= 4.0.1)
- Serilog.Sinks.Seq (>= 5.1.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on NetChris.Logging:
Package | Downloads |
---|---|
NetChris.Logging.AspNetCore
Tools for working with logging in ASP.NET Core |
|
NetChris.Logging.Serilog
Tools for working with Serilog logging |
|
NetChris.AzureKeyVault
Classes for dealing with Azure Key Vault |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.444323398 | 536 | 1/9/2022 | |
1.0.444318882-pre | 273 | 1/9/2022 | |
1.0.444316742-pre | 276 | 1/9/2022 | |
1.0.444290610 | 512 | 1/9/2022 | |
1.0.444285672-pre | 236 | 1/9/2022 | |
1.0.444282192-pre | 228 | 1/9/2022 | |
0.10.440123869-pre | 233 | 1/2/2022 | |
0.8.77 | 622 | 7/12/2021 | |
0.7.69 | 566 | 7/11/2021 | |
0.6.55 | 660 | 11/11/2020 | |
0.6.52-pr-dotnet5 | 398 | 10/11/2020 | |
0.6.51-pr-dotnet5 | 430 | 10/10/2020 | |
0.6.50-pr-1-coordination-id | 405 | 10/10/2020 | |
0.5.48-pr-1-coordination-id | 430 | 10/10/2020 | |
0.5.45-pr-update-references | 511 | 10/10/2020 | |
0.5.43-pr-dotnet5 | 447 | 8/16/2020 | |
0.5.37-pr-3-updates | 404 | 8/16/2020 | |
0.5.36-pr-3-updates | 453 | 8/16/2020 | |
0.4.28 | 6,020 | 8/15/2020 | |
0.3.22 | 2,266 | 7/22/2018 | |
0.2.18 | 908 | 7/22/2018 | |
0.1.15 | 2,474 | 7/8/2018 | |
0.1.9-prerelease | 894 | 6/28/2018 | |
0.0.1 | 1,166 | 6/24/2018 | |
0.0.0 | 1,062 | 6/24/2018 |