|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.log4j.Priority
org.apache.log4j.Level
org.jboss.logging.XLevel
public class 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 Priority.DEBUG_INT
and represents a lower level useful for logging events that should only
be displayed when deep debugging is required.
Level| Field Summary | |
|---|---|
static XLevel |
TRACE
The TRACE level object singleton |
static int |
TRACE_INT
The integer representation of the level, ( Priority.DEBUG_INT - 100) |
static String |
TRACE_STR
The string name of the trace level. |
| Fields inherited from class org.apache.log4j.Level |
|---|
ALL, 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 |
| Constructor Summary | |
|---|---|
protected |
XLevel(int level,
String strLevel,
int syslogEquiv)
Construct a XLevel. |
| Method Summary | |
|---|---|
static org.apache.log4j.Level |
toLevel(int i)
Convert an integer passed as argument to a priority. |
static org.apache.log4j.Level |
toLevel(int i,
org.apache.log4j.Level defaultLevel)
Convert an integer passed as argument to a level. |
static org.apache.log4j.Level |
toLevel(String name)
Convert an integer passed as argument to a level. |
static org.apache.log4j.Level |
toLevel(String name,
org.apache.log4j.Level defaultLevel)
Convert an integer passed as argument to a level. |
| Methods inherited from class org.apache.log4j.Priority |
|---|
equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TRACE_INT
Priority.DEBUG_INT - 100)
public static final String TRACE_STR
public static final XLevel TRACE
| Constructor Detail |
|---|
protected XLevel(int level,
String strLevel,
int syslogEquiv)
| Method Detail |
|---|
public static org.apache.log4j.Level toLevel(String name,
org.apache.log4j.Level defaultLevel)
public static org.apache.log4j.Level toLevel(String name)
public static org.apache.log4j.Level toLevel(int i)
public static org.apache.log4j.Level toLevel(int i,
org.apache.log4j.Level defaultLevel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||