org.mortbay.util

Class LogSupport

public class LogSupport extends Object

Log Support class.
Field Summary
static StringEXCEPTION
static StringIGNORED
static StringNOT_IMPLEMENTED
Method Summary
static voidignore(Log log, Throwable th)
Ignore an exception unless trace is enabled.

Field Detail

EXCEPTION

public static final String EXCEPTION

IGNORED

public static final String IGNORED

NOT_IMPLEMENTED

public static final String NOT_IMPLEMENTED

Method Detail

ignore

public static void ignore(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 © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.