CoGLevel (Java Globus API)
org.globus.util.log4j
Class CoGLevel
java.lang.Object
|
+--org.apache.log4j.Priority
|
+--org.apache.log4j.Level
|
+--org.globus.util.log4j.CoGLevel
- public class CoGLevel
- extends org.apache.log4j.Level
This class introduces a new level level called TRACE. TRACE has
lower level than DEBUG.
| 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,
java.lang.String strLevel,
int syslogEquiv)
|
|
Method Summary |
static org.apache.log4j.Level |
toLevel(int i)
|
static org.apache.log4j.Level |
toLevel(java.lang.String sArg)
Convert the string passed as argument to a level. |
static org.apache.log4j.Level |
toLevel(java.lang.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 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TRACE_INT
public static final int TRACE_INT
- See Also:
- Constant Field Values
TRACE
public static final CoGLevel TRACE
CoGLevel
protected CoGLevel(int level,
java.lang.String strLevel,
int syslogEquiv)
toLevel
public static org.apache.log4j.Level toLevel(java.lang.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(java.lang.String sArg,
org.apache.log4j.Level defaultValue)
toLevel
public static org.apache.log4j.Level toLevel(int i)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException