Debugger.Log Method (Int32, String, String)

 

Posts a message for the attached debugger.

Namespace:   System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

public static void Log(
	int level,
	string category,
	string message
)

Parameters

level
Type: System.Int32

A description of the importance of the message.

category
Type: System.String

The category of the message.

message
Type: System.String

The message to show.

If there is no debugger attached, this method has no effect. The debugger might or might not report the message, depending upon its settings.

System_CAPS_noteNote

The category parameter is limited to 256 characters. Strings longer than 256 characters are truncated.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: