Program Logger (logger)#

Configure the program logger.

setup_logger([log_level])

Set up and return a customised logger with elapsed time, C++ runtime indication and formatted warning messages.

triumvirate.logger.setup_logger(log_level=20)[source]#

Set up and return a customised logger with elapsed time, C++ runtime indication and formatted warning messages.

Parameters

log_level (int, optional) – Logging devel (default is logging.INFO).

Returns

logger – Customised logger.

Return type

logging.LoggerAdapter

See also

logging

For more details of the Python logging facility.