Module logging

Module logging 

Source
Expand description

Logging and tracing configuration

Provides structured logging for both CLI and daemon modes. The daemon logs to a file since it runs in the background.

Functionsยง

daemon_log_path
Get the path to the daemon log file
init_cli
Initialize tracing for the CLI (stdout logging)
init_daemon
Initialize tracing for the daemon (file + stderr logging)
truncate_daemon_log
Truncate the daemon log file (useful before debugging sessions)