public class XLevel
extends org.apache.log4j.Level
Adds a trace level that is below the standard Log4j DEBUG level.
This is a custom level that is 100 below the Level.TRACE_INT
and represents a lower level useful for logging events that should only
be displayed when deep debugging is required.
Level
,
Serialized FormModifier and Type | Field and Description |
---|---|
static XLevel |
TRACE
Deprecated.
The TRACE level object singleton
|
static int |
TRACE_INT
Deprecated.
The integer representation of the level, (
Level.TRACE_INT - 100) |
static String |
TRACE_STR
Deprecated.
The string name of the trace level.
|
Modifier | Constructor and Description |
---|---|
protected |
XLevel(int level,
String strLevel,
int syslogEquiv)
Deprecated.
Construct a XLevel.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.log4j.Level |
toLevel(int i)
Deprecated.
Convert an integer passed as argument to a priority.
|
static org.apache.log4j.Level |
toLevel(int i,
org.apache.log4j.Level defaultLevel)
Deprecated.
Convert an integer passed as argument to a level.
|
static org.apache.log4j.Level |
toLevel(String name)
Deprecated.
Convert an integer passed as argument to a level.
|
static org.apache.log4j.Level |
toLevel(String name,
org.apache.log4j.Level defaultLevel)
Deprecated.
Convert an integer passed as argument to a level.
|
public static final int TRACE_INT
Level.TRACE_INT
- 100)public static final String TRACE_STR
public static final XLevel TRACE
protected XLevel(int level, String strLevel, int syslogEquiv)
level
- the levelstrLevel
- ???syslogEquiv
- the system log equivalentpublic 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)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.