org.mmbase.util.logging.log4j
Class Log4jLevel
java.lang.Object
org.apache.log4j.Priority
org.apache.log4j.Level
org.mmbase.util.logging.log4j.Log4jLevel
- Direct Known Subclasses:
- Log4jPriority
- public class Log4jLevel
- extends org.apache.log4j.Level
LoggerLevel The new Level class for Log4jImpl. It extends
the log4j Level with 2 extra levels, namely `SERVICE' and
`TRACE'.
- Author:
- Michiel Meeuwissen
| Fields inherited from class org.apache.log4j.Level |
ALL, DEBUG, ERROR, FATAL, INFO, OFF, WARN |
| Fields inherited from class org.apache.log4j.Priority |
ALL_INT, DEBUG_INT, ERROR_INT, FATAL_INT, INFO_INT, OFF_INT, WARN_INT |
|
Constructor Summary |
protected |
Log4jLevel(int level,
java.lang.String strLevel,
int syslogEquiv)
|
| Methods inherited from class org.apache.log4j.Level |
toLevel, toLevel |
| Methods inherited from class org.apache.log4j.Priority |
equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SERVICE
public static final Log4jLevel SERVICE
TRACE
public static final Log4jLevel TRACE
Log4jLevel
protected Log4jLevel(int level,
java.lang.String strLevel,
int syslogEquiv)
toLevel
public static org.apache.log4j.Level toLevel(java.lang.String sArg)
toLevel
public static org.apache.log4j.Level toLevel(int i)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getAllPossibleLog4jPriorities
public static org.apache.log4j.Priority[] getAllPossibleLog4jPriorities()
toLog4jLevel
public static org.apache.log4j.Level toLog4jLevel(java.lang.String sArg)
MMBase build 1.7.1.20041002