Save This Page
Home » struts-1.3.9-src » examples » customLevel » [javadoc | source]
examples.customLevel
public class: XLevel [javadoc | source]
java.lang.Object
   org.apache.log4j.Priority
      org.apache.log4j.Level
         examples.customLevel.XLevel
This class introduces a new level level called TRACE. TRACE has lower level than DEBUG.
Field Summary
public static final  int TRACE_INT     
public static final  int LETHAL_INT     
public static final  XLevel TRACE     
public static final  XLevel LETHAL     
Fields inherited from org.apache.log4j.Level:
OFF,  FATAL,  ERROR,  WARN,  INFO,  DEBUG,  ALL
Fields inherited from org.apache.log4j.Priority:
OFF_INT,  FATAL_INT,  ERROR_INT,  WARN_INT,  INFO_INT,  DEBUG_INT,  ALL_INT,  FATAL,  ERROR,  WARN,  INFO,  DEBUG
Constructor:
 protected XLevel(int level,
    String strLevel,
    int syslogEquiv) 
Method from examples.customLevel.XLevel Summary:
toLevel,   toLevel,   toLevel
Methods from org.apache.log4j.Level:
toLevel,   toLevel,   toLevel,   toLevel
Methods from org.apache.log4j.Priority:
equals,   getAllPossiblePriorities,   getSyslogEquivalent,   isGreaterOrEqual,   toInt,   toPriority,   toPriority,   toPriority,   toPriority,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from examples.customLevel.XLevel Detail:
 public static Level toLevel(String sArg) 
    Convert the string passed as argument to a level. If the conversion fails, then this method returns #TRACE .
 public static Level toLevel(int i) throws IllegalArgumentException 
 public static Level toLevel(String sArg,
    Level defaultValue)