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
FATAL
public static final XPriority FATAL
XPriority
protected XPriority(int level,
String strLevel,
int syslogEquiv)
toPriority
public static Priority toPriority(String sArg)
- Description copied from class:
Priority
- Convert the string passed as argument to a priority. If the
conversion fails, then this method returns
Priority.DEBUG
.
toPriority
public static Priority toPriority(int i)
throws IllegalArgumentException
- Description copied from class:
Priority
- Convert an integerq passed as argument to a priority. If the
conversion fails, then this method returns
Priority.DEBUG
.
Please notify me about new log4j releases.