public class JulLogEvent extends Object implements LogEvent
| Constructor and Description |
|---|
JulLogEvent(LogRecord logRecord) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLogTimestamp() |
Set<String> |
getMdcNames() |
String |
getMdcValue(String mdcName) |
String |
getMessage() |
Object[] |
getParameters() |
String |
getSyslogLevel() |
Throwable |
getThrowable() |
String |
getValue(LogMessageField field) |
Values |
getValues(MessageField field) |
public JulLogEvent(LogRecord logRecord)
public String getMessage()
getMessage in interface LogEventpublic Object[] getParameters()
getParameters in interface LogEventpublic Throwable getThrowable()
getThrowable in interface LogEventpublic long getLogTimestamp()
getLogTimestamp in interface LogEventpublic String getSyslogLevel()
getSyslogLevel in interface LogEventpublic Values getValues(MessageField field)
public String getValue(LogMessageField field)
public String getMdcValue(String mdcName)
getMdcValue in interface LogEventmdcName - Name of the MDC entry.public Set<String> getMdcNames()
getMdcNames in interface LogEventCopyright © 2013–2023. All rights reserved.