Checks to see if logging is enabled by an attached debugger.
[Visual Basic] Public Shared Function IsLogging() As Boolean [C#] public static bool IsLogging(); [C++] public: static bool IsLogging(); [JScript] public static function IsLogging() : Boolean;
true if a debugger is attached and logging is enabled; otherwise, false
Debugger Class | Debugger Members | System.Diagnostics Namespace