Expand description
Log rotation policies: size, time, date, and count-based. Log rotation policies: size, time, date, and count-based.
Wrap a file sink with [RotatingFile] to enforce automatic rotation.
On rotation, the current file is renamed with a timestamp suffix and
a fresh file is opened at the original path.
Structsยง
- Rotating
File - File writer that enforces a
LogRotationpolicy.