deep.processor.context.log_action
Handling for log actions.
LogActionContext
Bases: ActionContext
The context for processing a log action.
Source code in deep/processor/context/log_action.py
process_log(log_msg)
Process the log message.
:param log_msg: the configure log message
:returns: (str) process_log: the result of the processed log (list) watch: the watch results from the expressions (dic) vars: the collected variables
Source code in deep/processor/context/log_action.py
LogActionResult
Bases: ActionResult
The result of a successful log action.
Source code in deep/processor/context/log_action.py
__init__(action, log)
Create a new result of a log action.
:param action: the source action :param log: the log result.
process(ctx)
Process this result.
:param ctx: the triggering context
:return: an action callback if we need to do something at the 'end', or None