Udostępnij przez


Debugger.Log(Int32, String, String) Metoda

Definicja

Publikuje komunikat dla dołączonego debugera.

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)

Parametry

level
Int32

Opis znaczenia wiadomości.

category
String

Kategoria wiadomości.

message
String

Komunikat do wyświetlenia.

Uwagi

Jeśli nie ma dołączonego debugera, ta metoda nie ma efektu. Debuger może lub nie może zgłaszać komunikatu, w zależności od jego ustawień.

Uwaga

Parametr category jest ograniczony do 256 znaków. Ciągi dłuższe niż 256 znaków są obcinane.

Dotyczy