public static void Main(string[] args)
        {
            var formatter = new ManulifeElkFormatter();

            Log.Logger = new LoggerConfiguration()
                         .MinimumLevel.Verbose()
                         .Enrich.WithProperty("@version", "1.0.0")
                         .Enrich.FromLogContext()
                         .WriteTo.Console(formatter)
                         .CreateLogger();
            CreateWebHostBuilder(args).Build().Run();
        }
        public static void Main(string[] args)
        {
            var formatter = new ManulifeElkFormatter();

            Log.Logger = new LoggerConfiguration()
                         .MinimumLevel.Verbose()
                         .Enrich.WithProperty("@version", "1.0.0")
                         .Enrich.FromLogContext()
                         .WriteTo.Console(formatter)
                         .WriteTo.File(formatter, "Manulife.Logging.DotNet.Core.Log.txt", rollingInterval: RollingInterval.Day, shared: true)
                         .CreateLogger();
            CreateWebHostBuilder(args).Build().Run();
        }