Every display-worthy event streams through logf (Closes #122) #130
Loading…
Reference in a new issue
No description provided.
Delete branch "122-logf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The g.Log-only appends were invisible in every production mode: main() runs interactive=true unconditionally, so flushLog dropped the log and nothing else printed it. All player/spectate-visible events now stream through logf: loan defaults on the die, the deposit-flow total, the LOAN MARKET award summary, bond offers placed and takes filled, loan charge-offs, shore-up borrows, revocations, dead-loan transfers, GAME OVER, and both accounting watchdogs (ACCT DIVERGENCE, CF DIVERGENCE) — the divergence detectors are now visible in the bench output they were built to watch.
Verified: a spectate game shows all of the above (357 occurrences in an 80-turn run, GAME OVER present); an interactive run prints each line exactly once per turn.