org.openqa.jetty.util
Class LogSupport

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

public class LogSupport
extends Object

Log Support class.


Field Summary
static String EXCEPTION
           
static String IGNORED
           
static String NOT_IMPLEMENTED
           
 
Constructor Summary
LogSupport()
           
 
Method Summary
static void ignore(org.apache.commons.logging.Log log, 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 String IGNORED
See Also:
Constant Field Values

EXCEPTION

public static final String EXCEPTION
See Also:
Constant Field Values

NOT_IMPLEMENTED

public static final 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,
                          Throwable th)
Ignore an exception unless trace is enabled. This works around the problem that log4j does not support the trace level.



Copyright © 2012. All Rights Reserved.