pub fn init_logging() -> Result<LogGuard>Expand description
Initialises dual logging: terminal (stderr with ANSI) and log file.
Deletes the previous log file before starting (rotation-by-deletion).
Returns LogGuard — the caller must keep it alive until exit.