We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutofacChildLifetimeScopeConfigurationAdapter
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) { adapter.Add(builder => { builder.RegisterLogger(); }); }
Parent container has builder.RegisterLogger(); as well. Context is missing in all cases:
builder.RegisterLogger();
UseSerilog
ConfigureContainer
Sample log entry with the missing context between <>: 2021-02-03 16:53:37Z [4] DBG <> User login was denied. Reason = InvalidUsernameOrPassword.
<>
2021-02-03 16:53:37Z [4] DBG <> User login was denied. Reason = InvalidUsernameOrPassword.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
Parent container has
builder.RegisterLogger();
as well.Context is missing in all cases:
UseSerilog
UseSerilog
onlyConfigureContainer
call from the sample aboveSample log entry with the missing context between
<>
:2021-02-03 16:53:37Z [4] DBG <> User login was denied. Reason = InvalidUsernameOrPassword.
The text was updated successfully, but these errors were encountered: