Log Method
Collapse the table of content
Expand the table of content

Debugger.Log Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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. This parameter is limited to 256 characters. Longer strings are truncated.
message
Type: System.String
The message to show.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft