serilog-extensions-logging
serilog-extensions-logging copied to clipboard
Serilog provider for Microsoft.Extensions.Logging
Change for issue #186. When calling `ILogger.BeginScope(TState state)` `TState` can now be a `ValueTuple`, `Item1` is used as the property name and `Item2` is used as the property value. ```csharp...
Cleanup
- [x] the exact package id and version you're using - `Serilog.Sinks.Console 5.0.0` via `Serilog.AspNetCore 8.0.1` - [x] your `dotnet` toolchain version, target framework, and operating system - `dotnet sdk...
Hello, I would like to ask, what is the reason for this line https://github.com/serilog/serilog-extensions-logging/blob/1e9f655aec4fa4335c68dcce64daac9a25f0011e/src/Serilog.Extensions.Logging/SerilogLoggingBuilderExtensions.cs#L48 The thing is that I would like to use dotnet configuration for serilog as well, i.e....
https://www.nuget.org/packages/Microsoft.Extensions.Telemetry/ > This library provides advanced logging and telemetry enrichment capabilities for .NET applications. It allows for detailed and configurable enrichment of log entries, along with enhanced latency monitoring and...
Updates to Serilog 4.x to elminate a dictionary construction using `LogEvent.UnstableAssembleFromParts()`. This gets the old `LogInformation` benchmark down from (a whopping) 1.26 KB/iteration to (a whopping) 1.17 KB/iteration. **But!** The...
We used to do this: ``` // Configure logging providers builder.Logging.ClearProviders(); builder.Logging.AddSerilog(); builder.Logging.AddCustomLoggerProvider(); ``` However, to use `UseSerilogRequestLogging` you have to do `services.AddSerilog()` I can't manage to get the custom...
As part of [this commit](https://github.com/serilog/serilog-aspnetcore/commit/92bc15aa27f925bb590ad7940f0272013fd2ead3) in the Serilog.AspNetCore repo the guidance for using Serilog with ASP.NET Core was changed from using builder.Host.UseSerilog to using builder.Services.AddSerilog The README in this repo...