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 08:57:54Z niclas $
Author:
Sylvain Wallez
See Also:
Serialized Form

Field Summary
static java.util.List LOGKIT_LOGLEVELS
          The LogLevels corresponding to LogKit priorities.
 
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

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.



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.