org.mmbase.util.logging.log4j
Class Log4jLevel
java.lang.Object
org.apache.log4j.Priority
org.apache.log4j.Level
org.mmbase.util.logging.log4j.Log4jLevel
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Log4jPriority
- public class Log4jLevel
- extends Level
LoggerLevel The new Level class for Log4jImpl. It extends
the log4j Level with 2 extra levels, namely `SERVICE' and
`TRACE'.
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
Log4jLevel(int level,
String strLevel,
int syslogEquiv)
|
SERVICE
public static final Log4jLevel SERVICE
TRACE
public static final Log4jLevel TRACE
Log4jLevel
protected Log4jLevel(int level,
String strLevel,
int syslogEquiv)
toLevel
public static Level toLevel(String sArg)
toLevel
public static Level toLevel(int i)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getAllPossibleLog4jPriorities
public static Priority[] getAllPossibleLog4jPriorities()
toLog4jLevel
public static Level toLog4jLevel(String sArg)
MMBase build 1.8.1.20060716