React to logging in DI change

This commit is contained in:
Pavel Krymets 2017-06-02 10:47:35 -07:00
parent 6480e88f96
commit 66d69f7ae5
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ namespace Microsoft.AspNetCore
})
.ConfigureLogging((hostingContext, logging) =>
{
logging.UseConfiguration(hostingContext.Configuration.GetSection("Logging"));
logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
logging.AddConsole();
logging.AddDebug();
})