5.3.1.24.12. cli.helpers.logger

Logging configuration for the foxBMS tool suite.

This module provides custom logging functionality, including:

  • Initialization and configuration of a module-level logger,

  • A utility to suppress verbose logging from selected third-party modules,

  • A function to set the global logging level and format according to user-defined verbosity.

cli.helpers.logger.DISABLE_LOGGING_FOR_MODULES

List of third-party modules for which logging output should be suppressed except for critical errors.

cli.helpers.logger.logger

The main logger instance for the foxBMS tool suite.

Functions

add_queue_handler(queue)

Adds a QueueHandler to the logger to enable logging via a multiprocessing queue.

get_listener(queue)

Creates and returns a QueueListener for handling log records from a queue.

ignore_third_party_logging()

Disable logging output for selected third-party modules except for critical messages.

set_logging_level([verbosity, _format, datefmt])

Configure the logging level and format for the module.