org.apache.log.output.lf5
Class LogKitLogRecord

java.lang.Object
  extended by LogRecord
      extended by org.apache.log.output.lf5.LogKitLogRecord

public class LogKitLogRecord
extends LogRecord

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

Version:
CVS $Revision: 1.5 $ $Date: 2003/04/07 11:36:51 $
Author:
Sylvain Wallez

Field Summary
static java.util.List LOGKIT_LOGLEVELS
          The LogLevels corresponding to LogKit priorities.
 
Constructor Summary
LogKitLogRecord(LogEvent event, Formatter fmt)
          Create a LogFactor record from a LogKit event
 
Method Summary
 boolean isSevereLevel()
           
 LogLevel toLogLevel(Priority priority)
          Convert a LogKit Priority to a LogFactor LogLevel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 LogLevel toLogLevel(Priority priority)
Convert a LogKit Priority to a LogFactor LogLevel.