NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Debugger.Log

Posts a message for the attached debugger.

[Visual Basic]
Public Shared Sub Log( _
   ByVal level As Integer, _
   ByVal category As String, _
   ByVal message As String _
)
[C#]
public static void Log(
   int level,
   string category,
   string message
);
[C++]
public: static void Log(
   int level,
   String* category,
   String* message
);
[JScript]
public static function Log(
   level : int,
   category : String,
   message : String
);

Parameters

level
A description of the importance of the message.
category
A string describing the category of the message.
message
A string representing the message to show.

Remarks

If there is no debugger attached, has no effect. The debugger may or may not report the message, depending on its settings.

See Also

Debugger Class | Debugger Members | System.Diagnostics Namespace