org.apache.log.output.lf5

Class 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 ListLOGKIT_LOGLEVELS
The LogLevels corresponding to LogKit priorities.
booleanm_severe
Is this a severe event ?
Constructor Summary
LogKitLogRecord(LogEvent event, Formatter fmt)
Create a LogFactor record from a LogKit event
Method Summary
booleanisSevereLevel()
LogLeveltoLogLevel(Priority priority)
Convert a LogKit Priority to a LogFactor LogLevel.

Field Detail

LOGKIT_LOGLEVELS

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

m_severe

private boolean m_severe
Is this a severe event ?

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.