public abstract class Log extends Object implements Handleable
Constructor and Description |
---|
Log()
Default constructor
|
Log(Long logId,
String type,
String thread,
int threadId,
String level,
String loggerName,
Instant instant,
String message,
String application,
BaseContextMap contextData)
Instantiates a new Log.
|
Log(Long logId,
String type,
String thread,
int threadId,
String level,
String loggerName,
long epochSecond,
long nanoOfSecond,
String message,
String application,
BaseContextMap contextData)
Parent class for all incoming logs.
|
Log(String type,
String thread,
int threadId,
String level,
String loggerName,
Instant instant,
String message,
String application,
BaseContextMap contextData)
Parent class for all incoming logs.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplication() |
String |
getConnectionId() |
String |
getContext() |
long |
getEpochSecond() |
String |
getLevel() |
String |
getLoggerName() |
Long |
getLogId() |
String |
getMessage() |
long |
getNanoSecond() |
String |
getPackageName() |
String |
getPhase() |
String |
getScenario() |
String |
getScenarioExecutionId() |
String |
getTechnology() |
String |
getThread() |
int |
getThreadId() |
String |
getType() |
int |
getWorkerNumber() |
String |
getWorkflowExecutionId() |
void |
setLogId(Long logId)
Setter for DB id, used by the MyBatis after insert
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
public Log()
public Log(String type, String thread, int threadId, String level, String loggerName, Instant instant, String message, String application, BaseContextMap contextData)
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 logapplication
- Name of the application which emitted the logcontextData
- values from ThreadContexttype
- log typepublic Log(Long logId, String type, String thread, int threadId, String level, String loggerName, Instant instant, String message, String application, BaseContextMap contextData)
logId
- the log idtype
- the typethread
- the threadthreadId
- the thread idlevel
- the levelloggerName
- the logger nameinstant
- the instantmessage
- the messageapplication
- the applicationcontextData
- the context datapublic Log(Long logId, String type, String thread, int threadId, String level, String loggerName, long epochSecond, long nanoOfSecond, String message, String application, BaseContextMap contextData)
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
- Name of the application which emitted the logcontextData
- values from ThreadContextnanoOfSecond
- nano seconds of the timestampstype
- type of the incoming logepochSecond
- timestamp in epoch secondslogId
- db id of the logpublic Long getLogId()
public void setLogId(Long logId)
logId
- db log idpublic String getThread()
public int getThreadId()
public String getLevel()
public String getLoggerName()
public String getMessage()
public String getWorkflowExecutionId()
public String getScenarioExecutionId()
public String getConnectionId()
public String getApplication()
public String getContext()
public long getEpochSecond()
public long getNanoSecond()
public int getWorkerNumber()
public String getTechnology()
public String getPhase()
public String getScenario()
public String getType()
public String getPackageName()
Copyright © 2020. All rights reserved.