autofac-serilog-integration
autofac-serilog-integration copied to clipboard
Contextual logger injection for Autofac using Serilog
Hello, I am using the above versions. When I installed this package, I get a yellow triangle:  Visual Studio is fantastic about not telling me why. I can only...
After updating to AutofacSerilogIntegration v5.0.0 and then trying to upgrade a previous installation of our WiX installer built MSI, AutofacSerilogIntegration.dll was the only file which did not upgrade. Looking at...
I have an application with the child scope built using this manual: https://github.com/autofac/Documentation/blob/master/docs/integration/aspnetcore.rst#using-a-child-scope-as-a-root I have this code for registering Serilog in the child container ``` public void ConfigureContainer(AutofacChildLifetimeScopeConfigurationAdapter adapter) {...
Recently we've encountered a performance issue in a project using `AutofacSerilogIntegration`. The performance profiling was indicating a lot of time spent in `registration.Preparing` handler attached by `ContextualLoggingModule`; the strange thing,...
When I add ILogger parameter to regular class Worker it is resolved as instance with context Worker and errors are correctly logged with SourceContext set to Worker. However, when ILogger...
Doesn't add SourceContext in ASP.Net 5 controllers with ILogger injected Controller get registered with the Registration.Preparing event, but doesn't appear that this ever gets called for a controller when the...
Hi, I have a sample code here: https://github.com/pawelpabich/serilog-autofac-injectunsetproprties. I can't resolve the MyType object directly from the container. InjectUnsetProperties sets the Logger property but SourceContext does not seem to be...