public override void Write(string message) { if (DiagDebugger.IsLogging()) { DiagDebugger.Log(0, null, message); } }
private static void WriteToDebugger(string message) { if (Debugger.IsLogging()) { Debugger.Log(0, null, message); } else { Interop.Sys.SysLog(Interop.Sys.SysLogPriority.LOG_USER | Interop.Sys.SysLogPriority.LOG_DEBUG, "%s", message); } }
private static void WriteToDebugger(string message) { if (Debugger.IsLogging()) { Debugger.Log(0, null, message); } else { Interop.mincore.OutputDebugString(message ?? string.Empty); } }
private void WriteImpl(string message) { if (base.NeedIndent) { WriteIndent(); WritePrefix(); } WriteDebugString(message); if (Debugger.IsLogging()) { Debugger.Log(0, null, message); } WriteLogFile(message, LogFileName); }
private void internalWrite(string message) { if (Debugger.IsLogging()) { Debugger.Log(0, null, message); } else if (message == null) { Microsoft.Win32.SafeNativeMethods.OutputDebugString(string.Empty); } else { Microsoft.Win32.SafeNativeMethods.OutputDebugString(message); } }
void internalWrite(string message) { if (Debugger.IsLogging()) { Debugger.Log(0, null, message); } else { if (message == null) { SafeNativeMethods.OutputDebugString(String.Empty); } else { SafeNativeMethods.OutputDebugString(message); } } }
private static void internalWrite(string message) { if (Debugger.IsLogging()) { Debugger.Log(0, null, message); #if !FEATURE_PAL } else { if (message == null) { Microsoft.Win32.SafeNativeMethods.OutputDebugString(String.Empty); } else { Microsoft.Win32.SafeNativeMethods.OutputDebugString(message); } #endif //!FEATURE_PAL } }