React to logging in DI change

This commit is contained in:
Pavel Krymets 2017-06-02 10:47:54 -07:00
parent de5b3560d5
commit 6fcf83fe22
1 changed files with 1 additions and 1 deletions

View File

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