Package org.apache.log.output.lf5
Class LogKitLogRecord
- java.lang.Object
-
- org.apache.log4j.lf5.LogRecord
-
- org.apache.log.output.lf5.LogKitLogRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class LogKitLogRecord extends LogRecord
An implementation of a LogFactor5LogRecord
based on a LogKitLogEvent
.- Version:
- CVS $Revision: 1.7 $ $Date: 2004/02/28 11:31:26 $
- Author:
- Sylvain Wallez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List
LOGKIT_LOGLEVELS
TheLogLevel
s corresponding to LogKit priorities.private boolean
m_severe
Is this a severe event ?
-
Constructor Summary
Constructors Constructor Description LogKitLogRecord(LogEvent event, Formatter fmt)
Create a LogFactor record from a LogKit event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSevereLevel()
LogLevel
toLogLevel(Priority priority)
Convert a LogKitPriority
to a LogFactorLogLevel
.-
Methods inherited from class org.apache.log4j.lf5.LogRecord
getCategory, getLevel, getLocation, getMessage, getMillis, getNDC, getNextId, getSequenceNumber, getThreadDescription, getThrown, getThrownStackTrace, hasThrown, isFatal, resetSequenceNumber, setCategory, setLevel, setLocation, setMessage, setMillis, setNDC, setSequenceNumber, setThreadDescription, setThrown, setThrownStackTrace, toString
-
-
-
-
Method Detail
-
isSevereLevel
public boolean isSevereLevel()
- Specified by:
isSevereLevel
in classLogRecord
-
-