Interface LogFilterPlugin
-
public interface LogFilterPlugin
Provides a filter mechanism for log events, with access to the execution context- Since:
- 5/10/17
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
complete(PluginLoggingContext context)
Deprecated.default void
complete(PluginLoggingContext context, StatusResult result)
Called when the current step/node output is complete, optionalvoid
handleEvent(PluginLoggingContext context, LogEventControl event)
Handle a log eventdefault void
init(PluginLoggingContext context)
Initialize filtering for the current context, optional
-
-
-
Method Detail
-
init
default void init(PluginLoggingContext context)
Initialize filtering for the current context, optional
-
handleEvent
void handleEvent(PluginLoggingContext context, LogEventControl event)
Handle a log event- Parameters:
context
- the context for the pluginevent
- event
-
complete
default void complete(PluginLoggingContext context)
Deprecated.Called when the current step/node output is complete, optional- Parameters:
context
- the context for the plugin
-
complete
default void complete(PluginLoggingContext context, StatusResult result)
Called when the current step/node output is complete, optional- Parameters:
context
- the context for the pluginresult
- the status of the step/workflow, may be null if an error occurred
-
-