Modifier and Type | Field and Description |
---|---|
static String |
DATE_TIME |
static String |
EC_ID |
static Set<String> |
FIELD_NAMES |
static String |
LOG_LEVEL_NAME |
static String |
LOG_LEVEL_VALUE |
static String |
LOG_MESSAGE |
static String |
LOGGER_NAME |
static String |
MESSAGE_ID |
static String |
PRODUCT_ID |
static String |
SUPP_ATTRS |
static String |
THREAD_ID |
static String |
THREAD_NAME |
static String |
TIME_MILLIS |
static String |
USER_ID |
Constructor and Description |
---|
ParsedLogRecord() |
ParsedLogRecord(String formattedContent) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentId()
Integer value of the log Level.
|
String |
getECId()
ECId for the current request for this log event.
|
Object |
getFieldValue(String name) |
String |
getFormattedLogRecord() |
String |
getLevel()
The name of the Level for this event.
|
int |
getLevelValue() |
String |
getLogger()
Logger name identifying the source of this event.
|
String |
getMessage()
The message body including the stack trace of the associated Exception.
|
String |
getMessageId()
The message id for this log event.
|
Map<String,Object> |
getSupplementalAttributes()
Optional name-value pairs associated with this log event.
|
long |
getThreadId()
The thread ID where this log event originated.
|
String |
getThreadName()
Thread name from where this log event originated.
|
long |
getTimeMillis()
Raw timestamp in milliseconds.
|
String |
getTimestamp()
The formatted timestamp in the log event.
|
String |
getUser()
Current user Id executing this request during this log event.
|
boolean |
isMatchedLogQuery() |
String |
toString() |
public static final String DATE_TIME
public static final String LOG_LEVEL_NAME
public static final String PRODUCT_ID
public static final String LOGGER_NAME
public static final String THREAD_ID
public static final String THREAD_NAME
public static final String USER_ID
public static final String EC_ID
public static final String TIME_MILLIS
public static final String LOG_LEVEL_VALUE
public static final String LOG_MESSAGE
public static final String SUPP_ATTRS
public static final String MESSAGE_ID
public ParsedLogRecord()
public ParsedLogRecord(String formattedContent)
public String getTimestamp()
LogEvent
getTimestamp
in interface LogEvent
public String getMessage()
LogEvent
getMessage
in interface LogEvent
public String getLevel()
LogEvent
public String getLogger()
LogEvent
public int getLevelValue()
getLevelValue
in interface LogEvent
public String getComponentId()
LogEvent
getComponentId
in interface LogEvent
public long getTimeMillis()
LogEvent
getTimeMillis
in interface LogEvent
public String getMessageId()
LogEvent
getMessageId
in interface LogEvent
public long getThreadId()
LogEvent
getThreadId
in interface LogEvent
public String getThreadName()
LogEvent
getThreadName
in interface LogEvent
public String getUser()
LogEvent
public String getECId()
LogEvent
public Map<String,Object> getSupplementalAttributes()
LogEvent
getSupplementalAttributes
in interface LogEvent
public String getFormattedLogRecord()
public boolean isMatchedLogQuery()
Copyright © 2020. All rights reserved.