org.apache.log4j.xml.examples
Class XPriority
java.lang.Object
|
+--org.apache.log4j.Priority
|
+--org.apache.log4j.xml.examples.XPriority
- public class XPriority
- extends Priority
This class introduces a new priority level called TRACE. TRACE has
lower priority than DEBUG.
Constructor Summary |
protected |
XPriority(int level,
String strLevel,
int syslogEquiv)
|
TRACE
public static final XPriority TRACE
LETHAL
public static final XPriority LETHAL
XPriority
protected XPriority(int level,
String strLevel,
int syslogEquiv)
toPriority
public static Priority toPriority(String sArg,
Priority defaultValue)
- Description copied from class:
Priority
- Convert the string passed as argument to a priority. If the
conversion fails, then this method returns the value of
defaultPriority
.
toPriority
public static Priority toPriority(int i)
throws IllegalArgumentException
- Description copied from class:
Priority
- Convert an integer passed as argument to a priority. If the
conversion fails, then this method returns
Priority.DEBUG
.
Please notify me about new log4j releases.