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 @@
**类型**: `class` (abstract interface)
**头文件**: `XCEngine/Debug/ILogSink.h`
**描述**: 日志输出槽抽象接口,定义日志输出的标准协议。
## 概述
@@ -14,8 +16,8 @@
| 方法 | 描述 |
|------|------|
| `virtual void Log(const LogEntry& entry) = 0` | [输出单条日志](log.md) |
| `virtual void Flush() = 0` | [刷新缓冲区,确保日志写入](flush.md) |
| [`Log`](log.md) | 输出单条日志 |
| [`Flush`](flush.md) | 刷新缓冲区,确保日志写入 |
## 使用示例