📝 refine configured file control docs

This commit is contained in:
Nanaloveyuki
2026-06-13 23:49:45 +08:00
parent dddad3d3d0
commit 01eb5c6f8d
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -33,8 +33,8 @@ pub fn ConfiguredLogger::file_close(self : ConfiguredLogger) -> Bool {}
Detailed rules explaining key parameters and behaviors
- Plain file sinks forward directly to file close behavior.
- Queued file sinks flush queue work before closing the wrapped file sink.
- Plain file sinks forward directly to file close behavior through the wrapped `RuntimeSink`.
- Queued file sinks flush queue work before closing the wrapped inner file sink.
- Non-file sinks return `false`.
- This helper is narrower than generic `close()` because it specifically targets file sink shutdown.