Пример #1
0
        private void ConfigureLogging()
        {
            var loggerFactory = LoggerFactoryResolver.GetLoggerFactory();

            LogManager.Configure(loggerFactory, busConfig.LogLevel);
        }
Пример #2
0
        public void LoggerFactory_should_be_ConsoleLoggerFactory()
        {
            var loggerFactory = LoggerFactoryResolver.GetLoggerFactory();

            Assert.Equal(typeof(ConsoleLoggerFactory), loggerFactory.GetType());
        }