Expand description
The application log: one rotating file for the whole binary.
One-line logfmt records at the XDG state root, filtered by RUST_LOG
because the ecosystem already owns that variable, rotated by size. The
file is the only default destination — the terminal never sees log
records — and a log write that fails costs nothing but the record: a
diagnostic surface must never fail the command it observes.
Functions§
- now_utc
- Wall-clock UTC now, RFC 3339 to the second.
- record
- Append one info record for a finished command, best effort.
- state_
root - The state directory every run-shaped artifact lives under:
${XDG_STATE_HOME:-$HOME/.local/state}/release-kit.