📝 Refine API doc notes and guidance

This commit is contained in:
Nanaloveyuki
2026-05-12 13:32:15 +08:00
parent 4d913aa642
commit c6c153cf53
47 changed files with 0 additions and 236 deletions
-5
View File
@@ -76,12 +76,7 @@ e.g.:
### Notes
Notes are here.
1. This API is synchronous and does not create buffering or background execution by itself.
2. The returned sink type stays visible in `Logger[S]`, which is useful for typed composition.
3. Prefer `Logger::new(...)` over global helpers when you want explicit control over sink, target, and level.
4. `Logger::new(...)` is the correct starting point for both public app logging and internal composed sink pipelines.