Logging¶
-
class
Logger(im)¶ Provides logging for the app and interaction machine.
Arguments: - im (InteractionMachine) – the interaction machine associated to the logger.
The initialised logger can also be invoked directly, which delegates to
Logger.info():im.log('foo');
-
static
critical(message)¶ Logs a message at the
'CRITICAL'log levelArguments: - message (string) – The message to log.
-
static
debug(message)¶ Logs a message at the
'DEBUG'log levelArguments: - message (string) – The message to log.
-
static
error(message)¶ Logs a message at the
'ERROR'log levelArguments: - message (string) – The message to log.
-
static
info(message)¶ Logs a message at the
'INFO'log levelArguments: - message (string) – The message to log.
-
static
warning(message)¶ Logs a message at the
'WARNING'log levelArguments: - message (string) – The message to log.