| 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()
LogEventgetTimestamp in interface LogEventpublic String getMessage()
LogEventgetMessage in interface LogEventpublic String getLevel()
LogEventpublic String getLogger()
LogEventpublic int getLevelValue()
getLevelValue in interface LogEventpublic String getComponentId()
LogEventgetComponentId in interface LogEventpublic long getTimeMillis()
LogEventgetTimeMillis in interface LogEventpublic String getMessageId()
LogEventgetMessageId in interface LogEventpublic long getThreadId()
LogEventgetThreadId in interface LogEventpublic String getThreadName()
LogEventgetThreadName in interface LogEventpublic String getUser()
LogEventpublic String getECId()
LogEventpublic Map<String,Object> getSupplementalAttributes()
LogEventgetSupplementalAttributes in interface LogEventpublic String getFormattedLogRecord()
public boolean isMatchedLogQuery()
Copyright © 2019. All rights reserved.