Skip to main content

Module logging

Module logging 

Source
Expand description

Optional logging to a JSONL file, one JSON object per line.

Functionsยง

init
Starts logging this process to a new JSONL file in log_dir (default ecp_logs/), keeping records at level and above, and returns its path. Only the first call sets logging up; later calls return the same path.