org.apache.log.output.lf5

Class LogKitLogRecord

public class LogKitLogRecord extends LogRecord

An implementation of a LogFactor5 LogRecord based on a LogKit {@link LogEvent}.

Version: CVS $Revision: 1.4 $ $Date: 2003/02/09 23:33:24 $

Author: Sylvain Wallez

Field Summary
static ListLOGKIT_LOGLEVELS
The LogLevels corresponding to LogKit priorities.
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.

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.