Fix code block highlight (#9168)
parent
460ae9a25f
commit
b6cd4cecf3
|
@ -438,7 +438,7 @@ To suppress all logs, specify `LogLevel.None` as the minimum log level. The inte
|
|||
|
||||
The project template code calls `CreateDefaultBuilder` to set up logging for the Console and Debug providers. The `CreateDefaultBuilder` method also sets up logging to look for configuration in a `Logging` section, using code like the following:
|
||||
|
||||
[!code-csharp[](index/samples/2.x/TodoApiSample/Program.cs?name=snippet_ExpandDefault&highlight=15)]
|
||||
[!code-csharp[](index/samples/2.x/TodoApiSample/Program.cs?name=snippet_ExpandDefault&highlight=16)]
|
||||
|
||||
The configuration data specifies minimum log levels by provider and category, as in the following example:
|
||||
|
||||
|
|
Loading…
Reference in New Issue