org.mortbay.util

Class LogSupport


public class LogSupport
extends java.lang.Object

Log Support class.

Field Summary

static String
EXCEPTION
static String
IGNORED
static String
NOT_IMPLEMENTED

Method Summary

static void
ignore(Log log, Throwable th)
Ignore an exception unless trace is enabled.

Field Details

EXCEPTION

public static final String EXCEPTION

IGNORED

public static final String IGNORED

NOT_IMPLEMENTED

public static final String NOT_IMPLEMENTED

Method Details

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.