Closed
Description
The current logging docs in Blazor show how you can add logging config using an in-memory property or the ILoggingBuild
API methods.
We don't showcase how you can read the logging config included in your appsettings.json file.
To do this, the user needs to invoke builder.Logging.AddConfiguration(builder.Configuration.GetSection("Logging"))
in their startup logic.
More context at dotnet/aspnetcore#20969.
Metadata
Metadata
Assignees
Type
Projects
Status
Done