Expand description
The run log (DESIGN.md “Logging”): in memory for the progress panes, and on disk line by line for after a run that died. Only the UI thread writes it; workers post their lines.
Modules§
Structs§
Constants§
- KEEP_
LOGS - Runs kept per game folder: enough that a re-run or two before asking for help cannot prune the run that failed.
Functions§
- log_dir
<game dir>\.pacenotes\logs, beside the ledger, so one folder holds everything this installer knows about one game.- log_
path - One file per run, named by its
utc_time::file_stamp, so reopening the installer to read a run cannot erase it. - prune
- Deletes all but the newest
keeprun logs indir, by name rather than modification time, so a log restored from a backup cannot pass for the newest; failures are ignored, since housekeeping must never stop an install.