Exemple #1
0
 private static void writeDebug(string text)
 {
     if (_isDisabled)
     {
         return;
     }
     _debugWriter.WriteDebug(text);
 }
Exemple #2
0
 public static void WriteDebug(string ex)
 {
     if (_runAsDebug)
     {
         Console.WriteLine(ex);
     }
     if (_writeToWriter)
     {
         _debugWriter.WriteDebug(ex);
     }
 }