803 B
803 B
Logger::Debug
以 Debug 级别记录一条日志。
void Debug(LogCategory category, const Containers::String& message);
行为说明
这是 Logger::Log 的便捷封装,等价于:
Log(LogLevel::Debug, category, message);
它不会自动填充 file、line 或 function。如果你需要源码位置,请改用 XE_LOG 宏或直接调用 Log 的完整签名。
参数
category- 日志分类。message- 日志文本。
返回值
- 无。
线程语义
- 与 Log 相同。
示例
XCEngine::Debug::Logger::Get().Debug(
XCEngine::Debug::LogCategory::Rendering,
"Pipeline state updated"
);