flowmachine.core.logging¶
action_request_processor¶
action_request_processor(_, __, event_dict)
init_logging¶
init_logging()
Initialise root logger 'flowmachine' and sub-logger 'flowmachine.debug', and configure structlog so that it passes any messages on to the standard library loggers.
set_log_level¶
set_log_level(logger_name: str, log_level: str) -> None
Set log level for logger flowmachine.debug
.
Parameters¶
-
logger_name
:str
Name of the logger for which to set the log level.
-
log_level
:str
Level to emit logs at. This must be one of the standard pre-defined log levels ("DEBUG", "INFO", "ERROR", etc.). If an invalid log level is passed, "ERROR" will be used.
Returns¶
None