📝 refine async state snapshot docs

This commit is contained in:
Nanaloveyuki
2026-06-14 02:09:29 +08:00
parent 9af489336d
commit 26de2e81d6
5 changed files with 17 additions and 7 deletions
+1
View File
@@ -55,6 +55,7 @@ Detailed rules explaining key parameters and behaviors
- 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.
- Serialization helpers accept any `AsyncLoggerState` value, including hand-built ones from this constructor.
### How to Use