public void Setup() { this.traceListener = new MockTraceListenerAndCoordinator(); this.instrumentationProvider = new MockLoggingInstrumentationProvider(); this.logWriter = new LogWriterImpl( new LogWriterStructureHolder( new ILogFilter[0], new Dictionary <string, LogSource>(), new LogSource("all", new[] { this.traceListener }, SourceLevels.All), new LogSource("not processed"), new LogSource("error"), "default", false, false, false), this.instrumentationProvider, this.traceListener); }
public void Setup() { this.traceListener = new MockTraceListenerAndCoordinator(); this.instrumentationProvider = new MockLoggingInstrumentationProvider(); this.logWriter = new LogWriterImpl( new LogWriterStructureHolder( new ILogFilter[0], new Dictionary<string, LogSource>(), new LogSource("all", new[] { this.traceListener }, SourceLevels.All), new LogSource("not processed"), new LogSource("error"), "default", false, false, false), this.instrumentationProvider, this.traceListener); }