public static void Main(string[] args) { SAEONLogs.CreateConfiguration().Initialize(); try { CreateHostBuilder(args).Build().Run(); } catch (Exception ex) { SAEONLogs.Exception(ex); throw; } finally { SAEONLogs.ShutDown(); } }