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