- 开发解决方案
- 使用 C# 开发项目
- 应用程序示例
- 对象和变量引用
Log.Debug(category, message)
生成在第二个参数中传递的调试消息,并将其与第一个参数中传递的类别相关联。
static void Debug(stringcategory, stringmessage);
参数
- category(string)
- 消息类别。
- message(string)
- 要生成的消息。
示例
Log.Debug("CustomCategory", "This is a debug message");
提供反馈