React to AddConfiguration argument change
This commit is contained in:
parent
ce280cba00
commit
12fb3de3a6
|
|
@ -15,7 +15,7 @@ namespace ChatSample
|
||||||
.UseSetting(WebHostDefaults.PreventHostingStartupKey, "true")
|
.UseSetting(WebHostDefaults.PreventHostingStartupKey, "true")
|
||||||
.ConfigureLogging((context, factory) =>
|
.ConfigureLogging((context, factory) =>
|
||||||
{
|
{
|
||||||
factory.UseConfiguration(context.Configuration.GetSection("Logging"));
|
factory.AddConfiguration(context.Configuration.GetSection("Logging"));
|
||||||
factory.AddConsole();
|
factory.AddConsole();
|
||||||
factory.AddDebug();
|
factory.AddDebug();
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue