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

@@ -1,10 +1,10 @@
# Logger::Verbose
```cpp
void Verbose(LogCategory category, const Containers::String& message)
void Verbose(LogCategory category, const Containers::String& message);
```
记录一条 Verbose0日志。Verbose 是最详细的日志级别,用于输出大量调试细节
记录 Verbose 级日志。Verbose 是最详细的日志级别,用于记录调试信息
**参数:**
- `category` - 日志分类
@@ -12,19 +12,21 @@ void Verbose(LogCategory category, const Containers::String& message)
**返回:**
**复杂度** O(n)n 为注册的 Sink 数量
**线程安全**
**示例:**
```cpp
#include <XCEngine/Debug/Logger.h>
#include "XCEngine/Debug/Logger.h"
XCEngine::Debug::Logger::Get().Verbose(
XCEngine::Debug::LogCategory::Memory,
"Memory pool fragmentation: 12.5%"
);
using namespace XCEngine::Debug;
Logger& logger = Logger::Get();
logger.Verbose(LogCategory::General, "Variable value: 42");
logger.Verbose(LogCategory::Memory, "Memory allocation detail");
```
## 相关文档
- [Logger 总览](logger.md) - 返回类总览
- [Logger](logger.md) - 返回类总览
- [LogLevel](../loglevel/loglevel.md) - 日志级别说明