📝 refine async state type docs

This commit is contained in:
Nanaloveyuki
2026-06-14 01:53:12 +08:00
parent f824cbfa68
commit e776455861
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ Detailed rules explaining key parameters and behaviors
- `AsyncLogger::state()` is the higher-level API that reads these values from a concrete logger.
- It also does not validate whether the supplied fields represent a combination that could come from one real logger instant.
- The constructed value matches the same public shape used by async logger serializers.
- Because `AsyncLoggerState` is only a data snapshot type, this constructor is mainly useful for tests, adapters, and synthetic diagnostics rather than ordinary logger inspection.
### How to Use