Log4j Version 1.2.14: Class Log4JLogRecord

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.lf5 Class Log4JLogRecord

java.lang.Object
  |
  +--org.apache.log4j.lf5.LogRecord
        |
        +--org.apache.log4j.lf5.Log4JLogRecord
All Implemented Interfaces:
Serializable

public class Log4JLogRecord
extends LogRecord

A Log4JLogRecord encapsulates the details of your log4j LoggingEvent in a format usable by the LogBrokerMonitor.

Author:
Brent Sprecher
See Also:
Serialized Form

 
 
 boolean
 void
 
 
 

Log4JLogRecord

public Log4JLogRecord()
Constructs an instance of a Log4JLogRecord.

isSevereLevel

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.
Overrides:
isSevereLevel in class LogRecord
Returns:
true if the log level is ERROR or FATAL.

setThrownStackTrace

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.
Parameters:
throwableInfo - An org.apache.log4j.spi.ThrowableInformation to associate with this Log4JLogRecord.
See Also:
LogRecord.getThrownStackTrace()

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.