예제 #1
0
 private void Log(string message, LogType type)
 {
     // check thread id cause unit tests run in parallel
     if (Thread.CurrentThread.ManagedThreadId == _currentThread)
     {
         _logger.WriteLine(message);
         _logged = true;
     }
 }
 public override void WriteLine(string value)
 {
     if (value == null)
     {
         XunitLogger.WriteLine();
     }
     else
     {
         XunitLogger.WriteLine(value);
     }
 }
 public override void WriteLine()
 {
     XunitLogger.WriteLine();
 }