SimonV839.LoggingHelpers
1.0.4
dotnet add package SimonV839.LoggingHelpers --version 1.0.4
NuGet\Install-Package SimonV839.LoggingHelpers -Version 1.0.4
<PackageReference Include="SimonV839.LoggingHelpers" Version="1.0.4" />
paket add SimonV839.LoggingHelpers --version 1.0.4
#r "nuget: SimonV839.LoggingHelpers, 1.0.4"
// Install SimonV839.LoggingHelpers as a Cake Addin #addin nuget:?package=SimonV839.LoggingHelpers&version=1.0.4 // Install SimonV839.LoggingHelpers as a Cake Tool #tool nuget:?package=SimonV839.LoggingHelpers&version=1.0.4
Extensions for configuring Microsoft's logger implemented using Serilog
Usage
Supplied as a nuget package: SimonV836.LoggingHelpers
Methods
See extension methods in SimonV839.LoggingHelpers.ConfigurationExtensions.
e.g.:
using SimonV839.LoggingHelpers;
Log.Logger = new LoggerConfiguration()
.ConfigureBasic()
.CreateLogger();
Todos
Complete Enrichers
Including a README.md (currently this file)
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> ... <PackageReadmeFile>README.md</PackageReadmeFile> ... </PropertyGroup>
<ItemGroup>
...
<None Include="README.md" Pack="true" PackagePath="\"/>
...
</ItemGroup>
</Project>
Publishing
Publish with: dotnet nuget push SimonV839.LoggingHelpers.1.0.4.nupkg --api-key <add key> --source https://api.nuget.org/v3/index.json
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Microsoft.Extensions.Logging (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Serilog (>= 4.0.0)
- Serilog.Enrichers.Environment (>= 3.0.1)
- Serilog.Enrichers.Process (>= 3.0.0)
- Serilog.Extensions.Logging (>= 8.0.0)
- Serilog.Sinks.Console (>= 6.0.0)
- Serilog.Sinks.File (>= 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.