| Constructor and Description |
|---|
LogRecord() |
LogRecord(LogRecord copy) |
LogRecord(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static LogRecord |
fromJUL(LogRecord julRecord)
Creates this object from JUL LogRecord.
|
Date |
getDate() |
String |
getId() |
LogLevel |
getLevel() |
String |
getLoggerName() |
String |
getMessage()
Formatted message with parameters filled in.
|
String |
getThreadName() |
String |
getThrowable()
Full stack trace of
Throwable associated with log record. |
int |
hashCode() |
void |
setDate(Date date) |
void |
setLevel(LogLevel level) |
void |
setLoggerName(String loggerName) |
void |
setMessage(String renderedMessage) |
void |
setThreadName(String threadName) |
void |
setThrowable(String throwable) |
String |
toString() |
public LogRecord()
public LogRecord(String id)
public LogRecord(LogRecord copy)
public static LogRecord fromJUL(LogRecord julRecord)
message is formatted with
parameters using MessageFormat, attached
throwable has full stack trace dumped, and log levels
are mapped as specified in LogRecord.julRecord - log record to convert.public String getId()
public Date getDate()
public void setDate(Date date)
public LogLevel getLevel()
public void setLevel(LogLevel level)
public String getMessage()
public void setMessage(String renderedMessage)
public String getLoggerName()
public void setLoggerName(String loggerName)
public String getThreadName()
public void setThreadName(String threadName)
public void setThrowable(String throwable)
Apache CXF