mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-31 15:34:58 +00:00
📝 consolidate logger API and async lifecycle guidance
This commit is contained in:
@@ -35,8 +35,9 @@ Detailed rules explaining key parameters and behaviors
|
||||
|
||||
- This helper forwards the stored visibility flags, separators, template, color settings, and markup settings into `text_formatter(...)`.
|
||||
- When `style_tags` is empty, the runtime formatter is built without a local style-tag registry.
|
||||
- When `style_tags` is non-empty, the config map is converted into a fresh `StyleTagRegistry` before formatter construction.
|
||||
- When `style_tags` is non-empty, the config map is converted into a fresh `StyleTagRegistry` and each stored tag is registered on that new registry before formatter construction.
|
||||
- This conversion does not mutate the source config object.
|
||||
- Sync and async config-driven builder paths both rely on this helper when a text formatter config must become a concrete runtime formatter.
|
||||
|
||||
### How to Use
|
||||
|
||||
|
||||
Reference in New Issue
Block a user