|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLevel
org.jboss.logging.XLevel
Provides custom extention levels for use with the Log4j logging framework.
Adds a trace level that is below the standard Log4j DEBUG level.
This is a custom level that is 100 below the Level#DEBUG_INT
and represents a lower level useful for logging events that should only
be displayed when deep debugging is required.
org.apache.log4j.Level
,
Serialized FormField Summary | |
static XLevel (src) |
TRACE
The TRACE level object singleton |
static int |
TRACE_INT
The integer representation of the level, ( Level#DEBUG_INT - 100) |
static java.lang.String |
TRACE_STR
The string name of the trace level. |
Constructor Summary | |
protected |
XLevel(int level,
java.lang.String strLevel,
int syslogEquiv)
Construct a XLevel. |
Method Summary | |
static Level |
toLevel(int i)
Convert an integer passed as argument to a priority. |
static Level |
toLevel(int i,
Level defaultLevel)
Convert an integer passed as argument to a level. |
static Level |
toLevel(java.lang.String name)
Convert an integer passed as argument to a level. |
static Level |
toLevel(java.lang.String name,
Level defaultLevel)
Convert an integer passed as argument to a level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TRACE_INT
Level#DEBUG_INT
- 100)
public static final java.lang.String TRACE_STR
public static final XLevel (src) TRACE
Constructor Detail |
protected XLevel(int level, java.lang.String strLevel, int syslogEquiv)
Method Detail |
public static Level toLevel(java.lang.String name, Level defaultLevel)
public static Level toLevel(java.lang.String name)
public static Level toLevel(int i)
public static Level toLevel(int i, Level defaultLevel)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |