public class ErrorLog extends Log
Constructor and Description |
---|
ErrorLog()
Default constructor
|
ErrorLog(Long logId,
String type,
String thread,
int threadId,
String level,
String loggerName,
long epochSecond,
long nanoOfSecond,
String message,
String application,
ErrorContextMap errorData)
Log with level WARN, ERROR and FATAL
|
ErrorLog(Long logId,
String type,
String thread,
int threadId,
String level,
String loggerName,
long epochSecond,
long nanoOfSecond,
String message,
String application,
String technology,
String phase,
String scenario,
String workflowExecutionId,
String scenarioExecutionId,
String connectionId,
String context,
int workerNumber,
String exceptionName,
String extendedStacktrace,
String userMessage,
String technicalMessage,
String solution,
String lineageImpact,
String category,
String errorType,
String packageName)
Log with level WARN, ERROR and FATAL
|
ErrorLog(String type,
String thread,
int threadId,
String level,
String loggerName,
Instant instant,
String message,
LoggedExceptionData exception,
String application,
ErrorContextMap errorData)
Log with level WARN, ERROR and FATAL
|
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
String |
getErrorType() |
String |
getExceptionName() |
String |
getExtendedStacktrace() |
String |
getLineageImpact() |
String |
getSolution() |
String |
getTechnicalMessage() |
String |
getUserMessage() |
void |
handle(MessageHandler handler)
Handling functionality
|
getApplication, getConnectionId, getContext, getEpochSecond, getLevel, getLoggerName, getLogId, getMessage, getNanoSecond, getPackageName, getPhase, getScenario, getScenarioExecutionId, getTechnology, getThread, getThreadId, getType, getWorkerNumber, getWorkflowExecutionId, setLogId
public ErrorLog()
public ErrorLog(String type, String thread, int threadId, String level, String loggerName, Instant instant, String message, LoggedExceptionData exception, String application, ErrorContextMap errorData)
thread
- Name of the thread which created the logthreadId
- Id of the thread which created the loglevel
- Log levelloggerName
- Name of the logger from which the log was emittedinstant
- Log timemessage
- Message of the logexception
- Logged exceptionerrorData
- data from ThreadContextapplication
- application that emitted the logtype
- log typepublic ErrorLog(Long logId, String type, String thread, int threadId, String level, String loggerName, long epochSecond, long nanoOfSecond, String message, String application, ErrorContextMap errorData)
thread
- Name of the thread which created the logthreadId
- Id of the thread which created the loglevel
- Log levelloggerName
- Name of the logger from which the log was emittedmessage
- Message of the logerrorData
- data from ThreadContextapplication
- application that emitted the logepochSecond
- timestamp in epoch secondslogId
- primary key of the lognanoOfSecond
- nano seconds of the timestamptype
- ERRORpublic ErrorLog(@Param(value="logId") Long logId, @Param(value="type") String type, @Param(value="thread") String thread, @Param(value="threadId") int threadId, @Param(value="level") String level, @Param(value="loggerName") String loggerName, @Param(value="epochSecond") long epochSecond, @Param(value="nanoOfSecond") long nanoOfSecond, @Param(value="message") String message, @Param(value="application") String application, @Param(value="technology") String technology, @Param(value="phase") String phase, @Param(value="scenario") String scenario, @Param(value="workflowExecutionId") String workflowExecutionId, @Param(value="scenarioExecutionId") String scenarioExecutionId, @Param(value="connectionId") String connectionId, @Param(value="context") String context, @Param(value="workerNumber") int workerNumber, @Param(value="exceptionName") String exceptionName, @Param(value="extendedStacktrace") String extendedStacktrace, @Param(value="userMessage") String userMessage, @Param(value="technicalMessage") String technicalMessage, @Param(value="solution") String solution, @Param(value="lineageImpact") String lineageImpact, @Param(value="category") String category, @Param(value="errorType") String errorType, @Param(value="packageName") String packageName)
thread
- Name of the thread which created the logthreadId
- Id of the thread which created the loglevel
- Log levelloggerName
- Name of the logger from which the log was emittedmessage
- Message of the logapplication
- application that emitted the logepochSecond
- timestamp in epoch secondslogId
- primary key of the lognanoOfSecond
- nano seconds of the timestamptype
- ERRORpackageName
- name of the package to which the log belognsphase
- name of the phase of the scenariotechnology
- technology of the scenarioconnectionId
- connection IDscenarioExecutionId
- scenario execution iDworkerNumber
- worker numbercategory
- error categorycontext
- context provided with the logerrorType
- error typeexceptionName
- name of the exceptionextendedStacktrace
- stacktracelineageImpact
- impact on the data lineagescenario
- name of the scenariosolution
- solution to the errortechnicalMessage
- technical error messageuserMessage
- user error messageworkflowExecutionId
- workflow execution IDpublic String getUserMessage()
public String getTechnicalMessage()
public String getSolution()
public String getLineageImpact()
public String getCategory()
public String getErrorType()
public String getExceptionName()
public String getExtendedStacktrace()
public void handle(MessageHandler handler)
Handleable
handler
- message handlerCopyright © 2020. All rights reserved.