Debugger.Log(Int32, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om