Skip to main content

Module progress_log

Module progress_log 

Source
Expand description

Stderr progress logger for the gam CLI and the gamfit Python bindings.

Installs a global log backend that timestamps each record (elapsed since process start), strips terminal control / escape sequences, and writes to stderr under a write-lock so concurrent solver threads never interleave partial lines. This is the sole logger bootstrap for the CLI binary and the Python extension module.

(Extracted from the former TUI visualizer module, which has been removed along with its crossterm/ratatui dependencies; only the stderr logging survives — the live chart / progress lanes were non-essential opt-in cruft.)

Functions§

init_logging