public Log4NetLogProviderLoggingTests() { _memoryAppender = new MemoryAppender(); BasicConfigurator.Configure(_memoryAppender); _logProvider = new Log4NetLogProvider(); _sut = new LoggerExecutionWrapper(new Log4NetLogProvider().GetLogger("Test")); }
public Log4NetLogProviderLoggingTests() { _memoryAppender = new MemoryAppender(); var repository = LogManager.GetRepository(Assembly.GetAssembly(typeof(LogManager))); BasicConfigurator.Configure(repository, _memoryAppender); _logProvider = new Log4NetLogProvider(); _sut = new LoggerExecutionWrapper(new Log4NetLogProvider().GetLogger("Test")); ((log4net.Repository.Hierarchy.Hierarchy)repository).Root.Level = Level.All; }
public LoupeProviderLoggingTests() { _sut = new LoggerExecutionWrapper(new LoupeLogProvider().GetLogger("Test")); }