Last active
July 24, 2020 16:34
-
-
Save ssukhpinder/278b463f1ffdb12e4b903a5a15cba639 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static IHostBuilder CreateHostBuilder(string[] args) => | |
Host.CreateDefaultBuilder(args) | |
.ConfigureWebHostDefaults(webBuilder => | |
{ | |
webBuilder.UseStartup<Startup>(); | |
}) | |
.ConfigureLogging(logging => | |
{ | |
logging.ClearProviders(); | |
logging.SetMinimumLevel(LogLevel.Trace); | |
}).UseNLog(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment