Package org.apache.commons.logging.impl
Class NoOpLog
java.lang.Object
org.apache.commons.logging.impl.NoOpLog
- All Implemented Interfaces:
Serializable
,Log
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 $
- Author:
- Scott Sanders, Rod Waldhoff
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Do nothingvoid
Do nothingvoid
Do nothingvoid
Do nothingvoid
Do nothingvoid
Do nothingvoid
Do nothingvoid
Do nothingfinal boolean
Debug is never enabled.final boolean
Error is never enabled.final boolean
Fatal is never enabled.final boolean
Info is never enabled.final boolean
Trace is never enabled.final boolean
Warn is never enabled.void
Do nothingvoid
Do nothingvoid
Do nothingvoid
Do nothing
-
Constructor Details
-
NoOpLog
public NoOpLog()Convenience constructor -
NoOpLog
Base constructor
-
-
Method Details
-
trace
Do nothing -
trace
Do nothing -
debug
Do nothing -
debug
Do nothing -
info
Do nothing -
info
Do nothing -
warn
Do nothing -
warn
Do nothing -
error
Do nothing -
error
Do nothing -
fatal
Do nothing -
fatal
Do nothing -
isDebugEnabled
Debug is never enabled.- Specified by:
isDebugEnabled
in interfaceLog
- Returns:
- false
-
isErrorEnabled
Error is never enabled.- Specified by:
isErrorEnabled
in interfaceLog
- Returns:
- false
-
isFatalEnabled
Fatal is never enabled.- Specified by:
isFatalEnabled
in interfaceLog
- Returns:
- false
-
isInfoEnabled
Info is never enabled.- Specified by:
isInfoEnabled
in interfaceLog
- Returns:
- false
-
isTraceEnabled
Trace is never enabled.- Specified by:
isTraceEnabled
in interfaceLog
- Returns:
- false
-
isWarnEnabled
Warn is never enabled.- Specified by:
isWarnEnabled
in interfaceLog
- Returns:
- false
-