Exemplo n.º 1
0
 public void Setup()
 {
     coordinator = new MockLoggingUpdateCoordinator();
     logWriter   =
         new LogWriterImpl(
             new LogWriterStructureHolder(
                 new ILogFilter[0],
                 new Dictionary <string, LogSource>(),
                 new LogSource(null),
                 new LogSource(null),
                 new LogSource(null),
                 null,
                 false,
                 false,
                 false),
             new LoggingInstrumentationProvider(false, false, null),
             coordinator);
 }
Exemplo n.º 2
0
 public void Setup()
 {
     this.coordinator             = new MockLoggingUpdateCoordinator();
     this.traceListener           = new MockTraceListener("original");
     this.instrumentationProvider = new MockLoggingInstrumentationProvider();
     this.logWriter =
         new LogWriterImpl(
             new LogWriterStructureHolder(
                 new ILogFilter[0],
                 new Dictionary <string, LogSource>(),
                 new LogSource("all", new[] { traceListener }, SourceLevels.All),
                 new LogSource("not processed"),
                 new LogSource("error"),
                 "default",
                 false,
                 false,
                 false),
             this.instrumentationProvider,
             coordinator);
 }
Exemplo n.º 3
0
 public void Setup()
 {
     coordinator = new MockLoggingUpdateCoordinator();
 }