org.apache.commons.logging.impl
public class NoOpLog extends Object implements Log, Serializable
Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
Version: $Id: NoOpLog.java,v 1.8 2004/06/06 21:13:12 rdonkin Exp $
Constructor Summary | |
---|---|
NoOpLog() Convenience constructor | |
NoOpLog(String name) Base constructor |
Method Summary | |
---|---|
void | debug(Object message) Do nothing |
void | debug(Object message, Throwable t) Do nothing |
void | error(Object message) Do nothing |
void | error(Object message, Throwable t) Do nothing |
void | fatal(Object message) Do nothing |
void | fatal(Object message, Throwable t) Do nothing |
void | info(Object message) Do nothing |
void | info(Object message, Throwable t) Do nothing |
boolean | isDebugEnabled()
Debug is never enabled.
|
boolean | isErrorEnabled()
Error is never enabled.
|
boolean | isFatalEnabled()
Fatal is never enabled.
|
boolean | isInfoEnabled()
Info is never enabled.
|
boolean | isTraceEnabled()
Trace is never enabled.
|
boolean | isWarnEnabled()
Warn is never enabled.
|
void | trace(Object message) Do nothing |
void | trace(Object message, Throwable t) Do nothing |
void | warn(Object message) Do nothing |
void | warn(Object message, Throwable t) Do nothing |
Returns: false
Returns: false
Returns: false
Returns: false
Returns: false
Returns: false