public class DebugLog extends Log
Constructor and Description |
---|
DebugLog()
Default constructor
|
DebugLog(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 packageName)
Instantiates a new Debug log.
|
DebugLog(String type,
String thread,
int threadId,
String level,
String loggerName,
Instant instant,
String message,
LoggedExceptionData exception,
String application,
BaseContextMap debugData)
Log with level TRACE, DEBUG or INFO.
|
Modifier and Type | Method and Description |
---|---|
String |
getExceptionName() |
String |
getExtendedStacktrace() |
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 DebugLog()
public DebugLog(String type, String thread, int threadId, String level, String loggerName, Instant instant, String message, LoggedExceptionData exception, String application, BaseContextMap debugData)
type
- DEBUGthread
- 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 exceptiondebugData
- Holder with additional thread context data.application
- Application which emitted the logpublic DebugLog(@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="packageName") String packageName)
logId
- the log idtype
- the typethread
- the threadthreadId
- the thread idloggerName
- the logger namelevel
- the levelepochSecond
- the epoch secondnanoOfSecond
- the nano of secondmessage
- the messageapplication
- the applicationtechnology
- the technologyphase
- the phasescenario
- the scenarioworkflowExecutionId
- the workflow execution idscenarioExecutionId
- the scenario execution idconnectionId
- the connection idcontext
- the contextworkerNumber
- the worker numberexceptionName
- the exception nameextendedStacktrace
- the extended stacktracepackageName
- the package namepublic void handle(MessageHandler handler)
Handleable
handler
- message handlerpublic String getExceptionName()
public String getExtendedStacktrace()
Copyright © 2020. All rights reserved.