Firefish 0.5.10

gov.lbl.dsd.p2pio.util
Class TraceLevel

java.lang.Object
  extended byorg.apache.log4j.Priority
      extended byorg.apache.log4j.Level
          extended bygov.lbl.dsd.p2pio.util.TraceLevel

public class TraceLevel
extends Level

Adds TRACE logging level to log4j. Taken from


Field Summary
static Level ALL
           
static TraceLevel TRACE
           
static int TRACE_INT
           
 
Fields inherited from class org.apache.log4j.Level
DEBUG, ERROR, FATAL, INFO, OFF, WARN
 
Fields inherited from class org.apache.log4j.Priority
ALL_INT, DEBUG_INT, ERROR_INT, FATAL_INT, INFO_INT, OFF_INT, WARN_INT
 
Method Summary
static Level toLevel(int i)
           
static Level toLevel(int i, Level level)
           
static Level toLevel(String s)
           
static Level toLevel(String s, Level level)
           
static Priority toPriority(int i)
           
static Priority toPriority(int i, Priority priority)
           
static Priority toPriority(String sArg, Priority priority)
           
 
Methods inherited from class org.apache.log4j.Priority
equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRACE_INT

public static final int TRACE_INT
See Also:
Constant Field Values

TRACE

public static final TraceLevel TRACE

ALL

public static final Level ALL
Method Detail

toPriority

public static Priority toPriority(int i)
                           throws IllegalArgumentException
Throws:
IllegalArgumentException

toPriority

public static Priority toPriority(int i,
                                  Priority priority)

toPriority

public static Priority toPriority(String sArg,
                                  Priority priority)

toLevel

public static Level toLevel(String s)

toLevel

public static Level toLevel(int i)

toLevel

public static Level toLevel(int i,
                            Level level)

toLevel

public static Level toLevel(String s,
                            Level level)

Firefish 0.5.10

Jump to the Firefish Homepage