NetChris.Logging
1.0.444323398
dotnet add package NetChris.Logging --version 1.0.444323398
NuGet\Install-Package NetChris.Logging -Version 1.0.444323398
<PackageReference Include="NetChris.Logging" Version="1.0.444323398" />
paket add NetChris.Logging --version 1.0.444323398
#r "nuget: NetChris.Logging, 1.0.444323398"
// Install NetChris.Logging as a Cake Addin #addin nuget:?package=NetChris.Logging&version=1.0.444323398 // Install NetChris.Logging as a Cake Tool #tool nuget:?package=NetChris.Logging&version=1.0.444323398
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 | 535 | 1/9/2022 | |
1.0.444318882-pre | 271 | 1/9/2022 | |
1.0.444316742-pre | 274 | 1/9/2022 | |
1.0.444290610 | 510 | 1/9/2022 | |
1.0.444285672-pre | 232 | 1/9/2022 | |
1.0.444282192-pre | 226 | 1/9/2022 | |
0.10.440123869-pre | 231 | 1/2/2022 | |
0.8.77 | 620 | 7/12/2021 | |
0.7.69 | 564 | 7/11/2021 | |
0.6.55 | 658 | 11/11/2020 | |
0.6.52-pr-dotnet5 | 396 | 10/11/2020 | |
0.6.51-pr-dotnet5 | 428 | 10/10/2020 | |
0.6.50-pr-1-coordination-id | 403 | 10/10/2020 | |
0.5.48-pr-1-coordination-id | 428 | 10/10/2020 | |
0.5.45-pr-update-references | 509 | 10/10/2020 | |
0.5.43-pr-dotnet5 | 445 | 8/16/2020 | |
0.5.37-pr-3-updates | 402 | 8/16/2020 | |
0.5.36-pr-3-updates | 451 | 8/16/2020 | |
0.4.28 | 6,018 | 8/15/2020 | |
0.3.22 | 2,264 | 7/22/2018 | |
0.2.18 | 906 | 7/22/2018 | |
0.1.15 | 2,472 | 7/8/2018 | |
0.1.9-prerelease | 892 | 6/28/2018 | |
0.0.1 | 1,164 | 6/24/2018 | |
0.0.0 | 1,058 | 6/24/2018 |