Uređivanje

Dijeli putem


Debugger.Log(Int32, String, String) Method

Definition

Posts a message for the attached debugger.

public:
 static void Log(int level, System::String ^ category, System::String ^ message);
public static void Log (int level, string? category, string? message);
public static void Log (int level, string category, string message);
static member Log : int * string * string -> unit
Public Shared Sub Log (level As Integer, category As String, message As String)

Parameters

level
Int32

A description of the importance of the message.

category
String

The category of the message.

message
String

The message to show.

Remarks

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

Note

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

Applies to