File sinks
The simplest durable destination — and the one whose failure modes (permissions, unbounded growth,
The simplest durable destination — and the one whose failure modes (permissions, unbounded growth,
The filesystem library (C++17) provides portable facilities for manipulating files and directories. It replaces platform-specific APIs and C-style file operations with a modern, type-safe interface.
Two different answers to "the log file cannot grow forever": rotate by size whenever the current file