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