org.globus.util.log4j
Class CoGLevel
java.lang.Object
org.apache.log4j.Priority
org.apache.log4j.Level
org.globus.util.log4j.CoGLevel
- All Implemented Interfaces:
- Serializable
public class CoGLevel
- extends org.apache.log4j.Level
This class introduces a new level level called TRACE. TRACE has lower level
than DEBUG.
- See Also:
- Serialized Form
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 |
CoGLevel(int level,
String strLevel,
int syslogEquiv)
|
Method Summary |
static org.apache.log4j.Level |
toLevel(int i)
|
static org.apache.log4j.Level |
toLevel(String sArg)
Convert the string passed as argument to a level. |
static org.apache.log4j.Level |
toLevel(String sArg,
org.apache.log4j.Level defaultValue)
|
Methods inherited from class org.apache.log4j.Level |
toLevel |
Methods inherited from class org.apache.log4j.Priority |
equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString |
TRACE_INT
public static final int TRACE_INT
- See Also:
- Constant Field Values
TRACE
public static final CoGLevel TRACE
CoGLevel
protected CoGLevel(int level,
String strLevel,
int syslogEquiv)
toLevel
public static org.apache.log4j.Level toLevel(String sArg)
- Convert the string passed as argument to a level. If the conversion
fails, then this method returns
TRACE
.
toLevel
public static org.apache.log4j.Level toLevel(String sArg,
org.apache.log4j.Level defaultValue)
toLevel
public static org.apache.log4j.Level toLevel(int i)
throws IllegalArgumentException
- Throws:
IllegalArgumentException