Log4j 1.0.4

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.


Field Summary
static XPriority FATAL
           
static XPriority TRACE
           
 
Fields inherited from class org.apache.log4j.Priority
DEBUG, ERROR, INFO, WARN
 
Constructor Summary
protected XPriority(int level, String strLevel, int syslogEquiv)
           
 
Method Summary
static Priority toPriority(int i)
          Convert an integerq passed as argument to a priority.
static Priority toPriority(String sArg)
          Convert the string passed as argument to a priority.
 
Methods inherited from class org.apache.log4j.Priority
getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRACE

public static final XPriority TRACE

FATAL

public static final XPriority FATAL
Constructor Detail

XPriority

protected XPriority(int level,
                    String strLevel,
                    int syslogEquiv)
Method Detail

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.

Log4j 1.0.4

Please notify me about new log4j releases.