Save This Page
Home » slf4j-1.5.5 » org.apache » log4j » lf5 » [javadoc | source]
org.apache.log4j.lf5
public class: Log4JLogRecord [javadoc | source]
java.lang.Object
   org.apache.log4j.lf5.LogRecord
      org.apache.log4j.lf5.Log4JLogRecord

All Implemented Interfaces:
    Serializable

A Log4JLogRecord encapsulates the details of your log4j LoggingEvent in a format usable by the LogBrokerMonitor.
Fields inherited from org.apache.log4j.lf5.LogRecord:
_seqCount,  _level,  _message,  _sequenceNumber,  _millis,  _category,  _thread,  _thrownStackTrace,  _thrown,  _ndc,  _location
Constructor:
 public Log4JLogRecord() 
Method from org.apache.log4j.lf5.Log4JLogRecord Summary:
isSevereLevel,   setThrownStackTrace
Methods from org.apache.log4j.lf5.LogRecord:
getCategory,   getLevel,   getLocation,   getMessage,   getMillis,   getNDC,   getNextId,   getSequenceNumber,   getThreadDescription,   getThrown,   getThrownStackTrace,   hasThrown,   isFatal,   isSevereLevel,   resetSequenceNumber,   setCategory,   setLevel,   setLocation,   setMessage,   setMillis,   setNDC,   setSequenceNumber,   setThreadDescription,   setThrown,   setThrownStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.log4j.lf5.Log4JLogRecord Detail:
 public boolean isSevereLevel() 
    Determines which 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.
 public  void setThrownStackTrace(ThrowableInformation throwableInfo) 
    Set stack trace information associated with this Log4JLogRecord. When this method is called, the stack trace in a String-based format is made available via the getThrownStackTrace() method.