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:
$Id: LogKitLogRecord.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
Author:
Sylvain Wallez

Field Summary
static java.util.List LOGKIT_LOGLEVELS
          The LogLevels corresponding to LogKit priorities.
private  boolean m_severe
          Is this a severe event ?
 
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

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 LogLevel toLogLevel(Priority priority)
Convert a LogKit Priority to a LogFactor LogLevel.