com.rhi.architecture.logging
Class TraceLevel
java.lang.Object
org.apache.log4j.Priority
org.apache.log4j.Level
com.rhi.architecture.logging.TraceLevel
- public class TraceLevel
- extends org.apache.log4j.Level
Extend Level to add Trace
- Version:
- 1.0
- Author:
- Pete McKinstry
Field Summary |
static org.apache.log4j.Level |
ALL
level for all debugging turned on. |
static org.apache.log4j.Level |
TRACE
trace level |
static int |
TRACE_INT
integer corresponding to trace level logging. |
Fields inherited from class org.apache.log4j.Level |
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 |
TraceLevel(int level,
java.lang.String strLevel,
int syslogEquiv)
|
Method Summary |
static org.apache.log4j.Priority[] |
getAllPossiblePriorities()
Deprecated. |
static org.apache.log4j.Level |
toLevel(int i)
|
static org.apache.log4j.Level |
toLevel(int i,
org.apache.log4j.Level level)
|
static org.apache.log4j.Level |
toLevel(java.lang.String s)
|
static org.apache.log4j.Level |
toLevel(java.lang.String s,
org.apache.log4j.Level level)
|
static org.apache.log4j.Priority |
toPriority(int i)
|
static org.apache.log4j.Priority |
toPriority(int i,
org.apache.log4j.Priority priority)
|
static org.apache.log4j.Priority |
toPriority(java.lang.String sArg)
Deprecated. |
static org.apache.log4j.Priority |
toPriority(java.lang.String sArg,
org.apache.log4j.Priority priority)
|
Methods inherited from class org.apache.log4j.Priority |
equals, getSyslogEquivalent, isGreaterOrEqual, toInt, 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
- integer corresponding to trace level logging. unique & must be
higher than debug level.
- See Also:
- Constant Field Values
TRACE
public static final org.apache.log4j.Level TRACE
- trace level
ALL
public static final org.apache.log4j.Level ALL
- level for all debugging turned on.
TraceLevel
protected TraceLevel(int level,
java.lang.String strLevel,
int syslogEquiv)
- Parameters:
level
- strLevel
- syslogEquiv
-
toPriority
public static org.apache.log4j.Priority toPriority(java.lang.String sArg)
- Deprecated.
- Parameters:
sArg
-
- Returns:
- See Also:
Priority.toPriority(java.lang.String)
toPriority
public static org.apache.log4j.Priority toPriority(int i)
throws java.lang.IllegalArgumentException
- Parameters:
i
-
- Returns:
-
- Throws:
java.lang.IllegalArgumentException
- See Also:
Priority.toPriority(int)
toPriority
public static org.apache.log4j.Priority toPriority(int i,
org.apache.log4j.Priority priority)
- Parameters:
i
- priority
-
- Returns:
- See Also:
Priority.toPriority(int, org.apache.log4j.Priority)
toPriority
public static org.apache.log4j.Priority toPriority(java.lang.String sArg,
org.apache.log4j.Priority priority)
- Parameters:
sArg
- priority
-
- Returns:
- See Also:
Priority.toPriority(java.lang.String, org.apache.log4j.Priority)
toLevel
public static org.apache.log4j.Level toLevel(java.lang.String s)
- Parameters:
s
-
- Returns:
- See Also:
Level.toLevel(java.lang.String)
toLevel
public static org.apache.log4j.Level toLevel(int i)
- Parameters:
i
-
- Returns:
- See Also:
Level.toLevel(int)
toLevel
public static org.apache.log4j.Level toLevel(int i,
org.apache.log4j.Level level)
- Parameters:
i
- level
-
- Returns:
- See Also:
Level.toLevel(int, org.apache.log4j.Level)
toLevel
public static org.apache.log4j.Level toLevel(java.lang.String s,
org.apache.log4j.Level level)
- Parameters:
s
- level
-
- Returns:
- See Also:
Level.toLevel(java.lang.String, org.apache.log4j.Level)
getAllPossiblePriorities
public static org.apache.log4j.Priority[] getAllPossiblePriorities()
- Deprecated.
- Returns:
- Priority[] array of all available priorities.
- See Also:
Priority.getAllPossiblePriorities()
Copyright © 2002-2004 Robert Half International. All Rights Reserved.