java.lang.Object
org.mortbay.util.LogSupport
- public class LogSupport
- extends java.lang.Object
Log Support class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
trace
private static boolean trace
log4j
private static boolean log4j
IGNORED
public static final java.lang.String IGNORED
- See Also:
- Constant Field Values
EXCEPTION
public static final java.lang.String EXCEPTION
- See Also:
- Constant Field Values
NOT_IMPLEMENTED
public static final java.lang.String NOT_IMPLEMENTED
- See Also:
- Constant Field Values
LogSupport
public LogSupport()
ignore
public static void ignore(org.apache.commons.logging.Log log,
java.lang.Throwable th)
- Ignore an exception unless trace is enabled.
This works around the problem that log4j does not support the trace level.
isTraceEnabled
public static boolean isTraceEnabled(org.apache.commons.logging.Log log)
- Is Trace Enabled.
This works around the problem that log4j does not support the trace level.