private static void ConfigureLogging() { if (!AppConfigurationSettings.IsProductionEnvironment) { LoggingConfigurator.AddAppenderBuilder <ConsoleAppenderBuilder>(); } LoggingConfigurator.AddAppenderBuilder <FileAppenderBuilder>(); //LoggingConfigurator.AddAppenderBuilder<AdoNetAppenderBuilder>(); LoggingConfigurator.Configure(); }
private static void ConfigureLogging() { LoggingConfigurator.AddAppenderBuilder <FileAppenderBuilder>(); LoggingConfigurator.Configure(); }