public static void Main(string[] args)
        {
            var configuration = CommonProgram.CreateConfigurationBuilder()
                                .AddJsonFile("ocelot.json", false, true)
                                .Build();
            var logger = CommonProgram.GetLogger(configuration);

            StartApp(args, logger, configuration);
        }
        public static void Main(string[] args)
        {
            var configuration = CommonProgram.CreateConfigurationBuilder().Build();
            var logger        = CommonProgram.GetLogger(configuration);

            try
            {
                logger.Debug("Application started");
                CreateWebHostBuilder(args)
                .UseConfiguration(configuration)
                .Build()
                .Run();
            }
            catch (Exception ex)
            {
                logger.Error(ex, "Stopped program because of exception when building WebHost");
                throw;
            }
            finally
            {
                LogManager.Shutdown();
            }
        }