Example #1
0
 protected TestWithLoggingBase(ITestOutputHelper output)
 {
     Log     = new TestLoggerFactory(output);
     _logger = Log.CreateLogger(GetType());
 }
Example #2
0
 public TestLogger(string categoryName, TestLoggerFactory loggerFactory)
 {
     _loggerFactory = loggerFactory;
     _categoryName  = categoryName;
 }
 protected TestWithLoggingBase(ITestOutputHelper output) {
     Log = new TestLoggerFactory(output);
     _logger = Log.CreateLogger(GetType());
 }