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

consider something like this: ``` c# var foo = loggerFactory.CreateLogger("foo"); var bar = loggerFactory.CreateLogger("bar"); var fooScope = foo.BeginScope("A"); var barScope = bar.BeginScope("B"); foo.Log(...); bar.Log(...); barScope.Dispose(); fooScope.Dispose(); ``` IMO, the scope...

It would be nice to code like `logger.BeginScope(("propertyName", (object)property))` or even better with an extension `public static IDisposable BeginScope(this ILogger logger, string name, object value)`.

up-for-grabs

I'm getting a type load exception with 3.0.1 and I have no direct dependencies on `Microsoft.Extensions.Logging` The only dependency I can see is coming from this library. Currently only .NET...

I have created an Azure Function App .NET 3.1. I have added this sink to the application and it works great when I run under the debugger in Visual Studio...

The readme mentions that serilog-aspnetcore should be used for .NET Core 2.0+ but doesn't explain the reasons. Furthermore, later it mentions configuration steps required specifically for .NET Core 2.0+ which...

This extension method already provides a way to replace the logger, however with a static instance: https://github.com/serilog/serilog-extensions-logging/blob/dev/src/Serilog.Extensions.Logging/SerilogLoggerFactoryExtensions.cs#L40 It would be nice if there is one such method that accepts `Func`,...

Hi does this extension use the default logging level or do you need to provide it? Finding that it does not seem to use this in aspnet core etc. ex....

The Microsoft abstractions are currently the standard for combining projects. So in all our current projects we set up Microsoft Logging with Serilog. From a perspective of our own code...

question

Hi, I'm trying to wire up "legacy" custom implementations of `Microsoft.Extensions.Logging.ILoggerProvider` and `Microsoft.Extensions.Logging.ILogger` as a Serilog sink. My Serilog configuration looks like this: ``` var customProviders = new LoggerProviderCollection(); customProviders.AddProvider(new...

In the AsLoggableValue method of the SerilogLogger, the formatter delegate is always invoked with the exception parameter as null. This causes issues if the Exception object is used in the...