serilog-extensions-logging icon indicating copy to clipboard operation
serilog-extensions-logging copied to clipboard

Serilog provider for Microsoft.Extensions.Logging

Results 35 serilog-extensions-logging issues
Sort by recently updated
recently updated
newest added
trafficstars

When HelixToolkit switched to Microsoft.Extensions.Logging.Abstractions I noticed that the debug sink handled message templates with empty bracers while Serilog didn't. I.e. the following logging statement `logger.LogInformation("Adapter Index = {}", adapterIndex);`...

This PR adresses the following: - Manage packages centrally instead of package version scattered all over the projects - Switch to Microsoft.Extensions.Logging.Abstractions + Serilog as the _only_ dependencies for the...

by appending the current stacktrace to the exception and its stacktrace. Fixes #198

I have a piece of code looking like this: ``` if (_logger?.IsEnabled (LogLevel.Debug) == true) { _logger?.LogDebug ("Notification has arrived {notification}", notification); } ``` and my SeriLog configuration looks like...

If I read the code correctly in SerilogLogger, there is only one property that is being set directly by the code in this library: the EventId property. Since this is...

enhancement

Microsoft.Extensions.Logging 5.* targets net461 as well. I had to fork the repo and republish with net461, because with the current version i get a MissingMethodException on AddSerilog(). Greetings from Vienna!

[Logging message generator](https://docs.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator) introduced in .NET 6 is not compatible with Serilog `@` operator. Any attempt to use this operator in [LoggerMessageAttribute](https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.logging.loggermessageattribute) causes compilation error.

Hello When I wanted to use serilog.extensions.logging with the nuget manager, i run into a problem that the version is not matching the microsoft.extensions.loggging , so my application fail loading...

In `EnrichAndCreateScopeItem()` if my TState was originally created as `Dictionary` the if statement fails to pivot my items into LogEvent.Properties as expected. Similar to #186 but not quite, though if...

Could someone provide an example for WPF application (.NET 5) using serilog-extensions-logging?