示例#1
0
 private static void writeError(string text)
 {
     if (_isDisabled)
     {
         return;
     }
     _debugWriter.WriteError(text);
 }
示例#2
0
 public static void WriteError(string ex)
 {
     if (_runAsDebug)
     {
         Console.WriteLine(ex);
     }
     if (_writeToWriter)
     {
         _debugWriter.WriteError(ex);
     }
 }