mirror of
https://github.com/infinite-iroha/touka.git
synced 2026-06-13 15:47:38 +08:00
docs: 修复审查意见,修正设计文档与实现的不一致
- 将设计文档中 logReco 改为 LogReco,与实际实现保持一致 - LogReco 字段保持公开但标记为 Deprecated
This commit is contained in:
parent
c8b14ef43a
commit
10033f4a17
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ Context.Debugf/Infof... → 硬编码 c.engine.LogReco.Debugf(...)
|
|||
|
||||
```
|
||||
Engine.logger → Logger 接口 (私有)
|
||||
Engine.logReco → *reco.Logger (私有, 兼容层)
|
||||
Engine.LogReco → *reco.Logger (公开, Deprecated - 保持向后兼容)
|
||||
Engine.GetLogger() → 返回 Logger 接口
|
||||
Engine.SetLogger(Logger)→ 设置日志实现
|
||||
Context.GetLogger() → 返回 Logger 接口
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue