📝 refine configured file policy docs

This commit is contained in:
Nanaloveyuki
2026-06-13 23:47:23 +08:00
parent 8427cc6cf3
commit dddad3d3d0
5 changed files with 12 additions and 12 deletions
@@ -33,8 +33,8 @@ pub fn ConfiguredLogger::file_policy_matches_default(self : ConfiguredLogger) ->
Detailed rules explaining key parameters and behaviors
- File-backed sinks compare current runtime file policy against their stored defaults.
- Queued file sinks forward the comparison from the wrapped file sink.
- File-backed sinks compare current runtime file policy against their stored defaults through the wrapped `RuntimeSink`.
- Queued file sinks forward the comparison from the wrapped inner file sink.
- Non-file sinks return `false`.
- This helper is a compact drift signal when callers do not need to compare full policy objects directly.