org.apache.log.output.lf5

Class LogKitLogRecord


public class LogKitLogRecord
extends LogRecord

An implementation of a LogFactor5 LogRecord based on a LogKit LogEvent.
Version:
CVS $Revision: 1.4 $ $Date: 2003/02/09 23:33:24 $
Author:
Sylvain Wallez

Field Summary

static 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.

Field Details

LOGKIT_LOGLEVELS

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

Constructor Details

LogKitLogRecord

public LogKitLogRecord(LogEvent event,
                       Formatter fmt)
Create a LogFactor record from a LogKit event

Method Details

isSevereLevel

public boolean isSevereLevel()

toLogLevel

public LogLevel toLogLevel(Priority priority)
Convert a LogKit Priority to a LogFactor LogLevel.