Class Log4jCodeExecutionLogger
java.lang.Object
com.kingsrook.qqq.backend.core.actions.scripts.logging.Log4jCodeExecutionLogger
- All Implemented Interfaces:
QCodeExecutionLoggerInterface,Serializable
Implementation of a code execution logger that logs to LOG 4j
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptException(Exception exception) Called if the script fails with an exception.voidacceptExecutionEnd(Serializable output) Called if the script completes without exception.voidacceptExecutionStart(ExecuteCodeInput executeCodeInput) Called when the execution starts - takes the execution's input object.voidacceptLogLine(String logLine) Called to log a line, a message.booleanGetter for includeUUIDvoidsetIncludeUUID(boolean includeUUID) Setter for includeUUIDwithIncludeUUID(boolean includeUUID) Fluent setter for includeUUIDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.actions.scripts.logging.QCodeExecutionLoggerInterface
log
-
Constructor Details
-
Log4jCodeExecutionLogger
public Log4jCodeExecutionLogger()
-
-
Method Details
-
acceptExecutionStart
Description copied from interface:QCodeExecutionLoggerInterfaceCalled when the execution starts - takes the execution's input object.- Specified by:
acceptExecutionStartin interfaceQCodeExecutionLoggerInterface
-
acceptLogLine
Description copied from interface:QCodeExecutionLoggerInterfaceCalled to log a line, a message.- Specified by:
acceptLogLinein interfaceQCodeExecutionLoggerInterface
-
acceptException
Description copied from interface:QCodeExecutionLoggerInterfaceCalled if the script fails with an exception.- Specified by:
acceptExceptionin interfaceQCodeExecutionLoggerInterface
-
acceptExecutionEnd
Description copied from interface:QCodeExecutionLoggerInterfaceCalled if the script completes without exception.- Specified by:
acceptExecutionEndin interfaceQCodeExecutionLoggerInterface
-
getIncludeUUID
public boolean getIncludeUUID()Getter for includeUUID -
setIncludeUUID
public void setIncludeUUID(boolean includeUUID) Setter for includeUUID -
withIncludeUUID
Fluent setter for includeUUID
-