org.openqa.jetty.util
Class LogSupport

java.lang.Object
  extended by org.openqa.jetty.util.LogSupport

public class LogSupport
extends java.lang.Object

Log Support class.


Field Summary
static java.lang.String EXCEPTION
           
static java.lang.String IGNORED
           
static java.lang.String NOT_IMPLEMENTED
           
 
Constructor Summary
LogSupport()
           
 
Method Summary
static void ignore(org.apache.commons.logging.Log log, java.lang.Throwable th)
          Ignore an exception unless trace is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LogSupport

public LogSupport()
Method Detail

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.



Copyright © 2011. All Rights Reserved.