mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-05-30 15:42:25 +00:00
✨ Make file append mode observable and persistent
This commit is contained in:
@@ -32,6 +32,7 @@ version 0.3.0
|
||||
- feat: add `FileSink::reopen()` and basic file sink failure counters via `open_failures()`, `write_failures()`, and `flush_failures()`
|
||||
- feat: forward file sink reopen and failure-counter helpers through `RuntimeSink` and `ConfiguredLogger`
|
||||
- feat: add explicit `file_flush()` and `file_close()` helpers for config-built file sinks, including queued file sink drain-before-close behavior
|
||||
- feat: make file append mode queryable via `append_mode()` / `file_append_mode()` and persist explicit `reopen(append=...)` mode updates for later reopen calls
|
||||
- feat: add `SplitSink`, `split_sink(...)`, and `split_by_level(...)` for routing records into different sinks by predicate or level
|
||||
- feat: add `Logger::bind(...)` as an ergonomic context-binding alias and `fields(...)` helper for tuple-based field construction
|
||||
|
||||
@@ -48,6 +49,7 @@ version 0.3.0
|
||||
- test: cover file sink reopen behavior and backend-dependent failure counter paths
|
||||
- test: cover config-built file logger reopen and failure-counter helper access
|
||||
- test: cover config-built file logger flush/close helpers and queued-file drain semantics
|
||||
- test: cover append-mode observability and reopen-mode persistence for direct and config-built file sinks
|
||||
- test: cover split sink predicate routing and level-based routing behavior
|
||||
- test: cover `bind(...)` context composition and `fields(...)` helper behavior
|
||||
- test: add async logger lifecycle, config roundtrip, and batching/flush policy test seeds
|
||||
@@ -65,6 +67,7 @@ version 0.3.0
|
||||
- docs: document file sink reopen and observability counters in README variants
|
||||
- docs: clarify that config-built file loggers keep file control and observability helpers
|
||||
- docs: document explicit file flush/close helpers for config-built file loggers
|
||||
- docs: clarify append-mode observability and reopen append-policy semantics
|
||||
- docs: add split sink examples for level-based routing
|
||||
- docs: add `bind(...)` examples for reusable context binding
|
||||
- docs: update root README and English README with async adapter notes and current scope
|
||||
|
||||
Reference in New Issue
Block a user