public static void Main(string[] args)
 {
     Console.Title = "MLH Sales";
     SerilogConfigure.ConfigureSerilog();
     try
     {
         Log.Information("Starting MLH Sales web host");
         BuildWebHost(args).Run();
     }
     catch (Exception ex)
     {
         Log.Fatal(ex, "Host terminated unexpectedly");
     }
     finally
     {
         Log.CloseAndFlush();
     }
 }
Ejemplo n.º 2
0
 public static void Main(string[] args)
 {
     SerilogConfigure.SetupSerilog();
     BuildWebHost(args).Run();
 }