pilot_drive.master_logging package

Submodules

pilot_drive.master_logging.master_logger module

This module handles logging across PILOT Drive and is multiprocess friendly.

class pilot_drive.master_logging.master_logger.MasterLogger(log_settings: dict)

Bases: object

The class that handles the logger for the entire application, allowing for logging across multiple processes via the queue

critical(msg: str) None

Log ‘msg’ with severity ‘CRITICAL’.

Parameters:

msg – The message to be logged

debug(msg: str) None

Log ‘msg’ with severity ‘DEBUG’.

Parameters:

msg – The message to be logged

error(msg: str) None

Log ‘msg’ with severity ‘ERROR’.

Parameters:

msg – The message to be logged

info(msg: str) None

Log ‘msg’ with severity ‘INFO’.

Parameters:

msg – The message to be logged

main() None

The main loop for the logger, reads from the queue and when theres is a new logging event, output it

warning(msg: str) None

Log ‘msg’ with severity ‘WARNING’.

Parameters:

msg – The message to be logged

Module contents