logger module

logger.changeProfile(profile_id, profile_name)[source]
logger.closelog()[source]
logger.debug(msg, parent=None, traceDepth=0)[source]
logger.deprecated(parent=None)[source]

Dev note (buhtz 2023-07-23): To my knowledge this function is called only one time in BIT. I assume it could be replace with python’s own deprecation warning system.

logger.error(msg, parent=None, traceDepth=0)[source]
logger.info(msg, parent=None, traceDepth=0)[source]
logger.openlog()[source]

Initialize the BiT logger system (which uses syslog)

Esp. sets the app name as identifier for the log entries in the syslog.

Attention: Call it in each sub process that uses logging.

logger.warning(msg, parent=None, traceDepth=0)[source]