docs(phase 105): Logger Box Framework設計&ドキュメント整備

- Create logger_box_design.md: comprehensive Logger Box framework design
- Define 3 reference patterns (Lightweight/Structured/Contextual)
- Add pseudo-code examples for each pattern (reference only)
- Update logging_policy.md: add Logger Box reference
- Update hako_logging_design.md: Logger Box integration with Phase 104
- Update ring0-inventory.md: Phase 105 entry
- Update CURRENT_TASK.md: Phase 105 completion + Phase 106+ backlog

Design principles:
- Logger Box provides level-based logging (DEBUG/INFO/WARN/ERROR)
- Phase 105 scope: ConsoleBox output only
- Phase 106 scope: output redirection (FileBox/NetworkBox)
- Reference examples for documentation (execution testing Phase 106+)

This completes the structured logging framework design, building on
Phase 99 (logging policy), Phase 100-101 (Rust logging), Phase 104
(.hako patterns), and Phase 105.5 (console macro unification).
This commit is contained in:
nyash-codex
2025-12-03 14:33:04 +09:00
parent ea4c164dae
commit f8790b13cc
5 changed files with 542 additions and 1 deletions

View File

@ -342,6 +342,22 @@ ring0.log.debug(&format!("Operation completed in {}ms", duration));
---
### Phase 105: Logger Box Framework (COMPLETED)
**Scope**:
- Logger Box インターフェース設計(ログレベル: DEBUG/INFO/WARN/ERROR
- 3つの設計パターンLightweight/Structured/Contextualのリファレンス実装例
- Phase 99-104 ロギングポリシーとの整合確認
**Files Created/Updated**:
- docs/development/current/main/logger_box_design.md (new)
- docs/development/current/main/logging_policy.md (updated)
- docs/development/current/main/hako_logging_design.md (updated)
**Status**: Design + reference examples complete. Runtime implementation deferred to Phase 106+.
---
## Section 5: Migration Roadmap
### Phase 99 (Current): Documentation & Planning