Example #1
0
 public TestConsole(ConsoleSink sink)
 {
     _sink = sink;
 }
Example #2
0
 public TestConsole(ConsoleSink sink)
 {
     _sink = sink;
 }
Example #3
0
 private Tuple<ConsoleLogger, ConsoleSink> SetUp(Func<string, LogLevel, bool> filter)
 {
     // Arrange
     var sink = new ConsoleSink();
     var console = new TestConsole(sink);
     var logger = new ConsoleLogger(_name, filter);
     logger.Console = console;
     return new Tuple<ConsoleLogger, ConsoleSink>(logger, sink);
 }