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
In MVC Core 2 logging infrastructure uses https://github.com/aspnet/Logging/blob/dev/src/Microsoft.Extensions.Logging/ProviderAliasAttribute.cs to determine provider alias for filtering rules. Lets use 'File' alias, this will allow to use "File": { "LogLevel": { } } in configuration section loaded with logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
The text was updated successfully, but these errors were encountered:
Associate 'File' alias with FileLoggingProvider #4
80dcb5d
Done, now it is possible to specify filtering rules in "File" config section in the same way as for "Console" or "Debug".
Shipped in 1.0.4
Sorry, something went wrong.
VitaliyMF
No branches or pull requests
In MVC Core 2 logging infrastructure uses https://github.com/aspnet/Logging/blob/dev/src/Microsoft.Extensions.Logging/ProviderAliasAttribute.cs to determine provider alias for filtering rules.
Lets use 'File' alias, this will allow to use "File": { "LogLevel": { } } in configuration section loaded with
logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
The text was updated successfully, but these errors were encountered: