Log.Debug(category, message)

生成在第二个参数中传递的调试消息,并将其与第一个参数中传递的类别相关联。
static void Debug(string
category
, string
message
);

参数

category
(string)
消息类别。
message
(string)
要生成的消息。

示例

Log.Debug("CustomCategory", "This is a debug message");
提供反馈
对本文档有问题或反馈吗? 请在这里提交您的反馈