org.apache.log.output.lf5
Class LogKitLogRecord

java.lang.Object
  extended byorg.apache.log4j.lf5.LogRecord
      extended byorg.apache.log.output.lf5.LogKitLogRecord
All Implemented Interfaces:
java.io.Serializable

public class LogKitLogRecord
extends org.apache.log4j.lf5.LogRecord

An implementation of a LogFactor5 LogRecord based on a LogKit LogEvent.

Version:
$Id: LogKitLogRecord.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
Author:
Sylvain Wallez
See Also:
Serialized Form

Field Summary
static java.util.List LOGKIT_LOGLEVELS
          The LogLevels corresponding to LogKit priorities.
private  boolean m_severe
          Is this a severe event ?
 
Fields inherited from class org.apache.log4j.lf5.LogRecord
_category, _level, _location, _message, _millis, _ndc, _seqCount, _sequenceNumber, _thread, _thrown, _thrownStackTrace
 
Constructor Summary
LogKitLogRecord(LogEvent event, Formatter fmt)
          Create a LogFactor record from a LogKit event
 
Method Summary
 boolean isSevereLevel()
           
 org.apache.log4j.lf5.LogLevel toLogLevel(Priority priority)
          Convert a LogKit Priority to a LogFactor LogLevel.
 
Methods inherited from class org.apache.log4j.lf5.LogRecord
getCategory, getLevel, getLocation, getMessage, getMillis, getNDC, getNextId, getSequenceNumber, getThreadDescription, getThrown, getThrownStackTrace, hasThrown, isFatal, resetSequenceNumber, setCategory, setLevel, setLocation, setMessage, setMillis, setNDC, setSequenceNumber, setThreadDescription, setThrown, setThrownStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_severe

private boolean m_severe
Is this a severe event ?


LOGKIT_LOGLEVELS

public static final java.util.List LOGKIT_LOGLEVELS
The LogLevels corresponding to LogKit priorities.

Constructor Detail

LogKitLogRecord

public LogKitLogRecord(LogEvent event,
                       Formatter fmt)
Create a LogFactor record from a LogKit event

Method Detail

isSevereLevel

public boolean isSevereLevel()

toLogLevel

public org.apache.log4j.lf5.LogLevel toLogLevel(Priority priority)
Convert a LogKit Priority to a LogFactor LogLevel.