public void SetUp() { _performanceAppender = new PerformanceAppender(_count * _nbThreads); BasicConfigurator.Configure(new[] { new ConsoleAppender(), }, _queueSize); for (int i = 0; i < _nbThreads; i++) { _enqueueMicros.Add(new double[_count]); } }
public void SetUp() { _performanceAppender = new PerformanceAppender(_count * _nbThreads); // LogManager.Initialize(new[] { _performanceAppender, }, _queueSize); LogManager.Initialize(new[] { new ConsoleAppender(), }, _queueSize); for (int i = 0; i < _nbThreads; i++) { _enqueueMicros.Add(new double[_count]); } }
public void SetUp() { _performanceAppender = new PerformanceAppender(_count * _nbThreads); BasicConfigurator.Configure(new ZeroLogBasicConfiguration { Appenders = { new ConsoleAppender(), }, LogEventQueueSize = _queueSize }); for (int i = 0; i < _nbThreads; i++) { _enqueueMicros.Add(new double[_count]); } }