Ejemplo n.º 1
0
        public static IHostBuilder CreateHostBuilder(string[] args) =>
        Host.CreateDefaultBuilder(args)
        .ConfigureLogging(Logging =>
        {
            Logging.AddFilter("System", LogLevel.None);
            Logging.AddFilter("Microsoft", LogLevel.None);

            Logging.AddLog4Net();
        })
        .ConfigureWebHostDefaults(webBuilder =>
        {
            webBuilder.UseStartup <Startup>();
        });