public class Log4JLogRecord extends LogRecord
Log4JLogRecord encapsulates
the details of your log4j LoggingEvent in a format usable
by the LogBrokerMonitor.| Constructor and Description |
|---|
Log4JLogRecord()
Constructs an instance of a
Log4JLogRecord. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSevereLevel()
Determines which
Priority levels will
be displayed in colored font when the LogMonitorAppender
renders this log message. |
void |
setThrownStackTrace(ThrowableInformation throwableInfo)
Set stack trace information associated with this Log4JLogRecord.
|
getCategory, getLevel, getLocation, getMessage, getMillis, getNDC, getNextId, getSequenceNumber, getThreadDescription, getThrown, getThrownStackTrace, hasThrown, isFatal, resetSequenceNumber, setCategory, setLevel, setLocation, setMessage, setMillis, setNDC, setSequenceNumber, setThreadDescription, setThrown, setThrownStackTrace, toStringpublic Log4JLogRecord()
Log4JLogRecord.public boolean isSevereLevel()
Priority levels will
be displayed in colored font when the LogMonitorAppender
renders this log message. By default, messages will be colored
red if they are of Priority ERROR or FATAL.isSevereLevel in class LogRecordpublic void setThrownStackTrace(ThrowableInformation throwableInfo)
throwableInfo - An org.apache.log4j.spi.ThrowableInformation to
associate with this Log4JLogRecord.LogRecord.getThrownStackTrace()Copyright © 2012 JBoss by Red Hat. All Rights Reserved.