System.Diagnostics.Debug.WindowsDebugLogger.WriteToDebugger C# (CSharp) Method

WriteToDebugger() private method

private WriteToDebugger ( string message ) : void
message string
return void
            private static void WriteToDebugger(string message)
            {
                if (Debugger.IsLogging())
                {
                    Debugger.Log(0, null, message);
                }
                else
                {
                    Interop.Kernel32.OutputDebugString(message ?? string.Empty);
                }
            }
        }