docs: update core and debug API docs

This commit is contained in:
2026-03-20 02:35:07 +08:00
parent 0c073db4e8
commit e165dbea1c
73 changed files with 743 additions and 391 deletions

View File

@@ -4,6 +4,8 @@
**类型**: `module`
**头文件**: `XCEngine/Debug/Debug.h`
**描述**: XCEngine 的调试和日志模块,提供日志记录和性能分析功能。
## 概述
@@ -77,8 +79,8 @@ if (condition) {
XE_LOG(LogCategory::General, LogLevel::Error, "Something went wrong");
}
// 使用断言
XE_ASSERT(ptr != nullptr, "Pointer must not be null");
// 使用断言仅记录Fatal日志不会中断程序
XC_ASSERT(ptr != nullptr, "Pointer must not be null");
```
## 相关文档