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.
- 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- Parameters:
ignoredName
- unused.
-
-
Method Details
-
debug
Do nothing -
debug
Do nothing -
error
Do nothing -
error
Do nothing -
fatal
Do nothing -
fatal
Do nothing -
info
Do nothing -
info
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
-
trace
Do nothing -
trace
Do nothing -
warn
Do nothing -
warn
Do nothing
-