private static void LogConfig() { var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"); var configuration = AddConfigurationSettings(new ConfigurationBuilder()) .Build(); var log = new LogConfigBuilder(configuration, environment); log.Build(); }
private static void RegisterLogging(ContainerBuilder builder) { var logConfig = LogConfigBuilder.Build(); builder.RegisterModule(new LoggingModule(logConfig)); }