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