Expand description
The log module provides initialisation and configuration of the application’s logging system.
This module sets up logging with various levels (error, warn, info, debug, trace) and optional colourisation based on terminal support. It also allows configuration of the log level through environment variables.
Constants§
- DEFAULT_
LOG_ LEVEL - The default log level for the program.
Functions§
- init
- Initialise the program logger using the
fernlogging library with colourised output. - is_
logger_ initialised - Whether the program logger has been initialised