public static void Main(string[] args) => HiveLog.UseSerilog(() => Host.CreateDefaultBuilder(args) .UseStartup <StartUp>() .AddApplicationInsights() .UseSerilog() .Build() .Run() );
public static void Main(string[] args) { HiveLog.UseSerilog(() => CreateHostBuilder(args).Build().Run()); }