Package org.apache.commons.logging.impl
Class NoOpLog
- java.lang.Object
-
- org.apache.commons.logging.impl.NoOpLog
-
- All Implemented Interfaces:
java.io.Serializable
,Log
public class NoOpLog extends java.lang.Object implements Log, java.io.Serializable
Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(java.lang.Object message)
Do nothingvoid
debug(java.lang.Object message, java.lang.Throwable t)
Do nothingvoid
error(java.lang.Object message)
Do nothingvoid
error(java.lang.Object message, java.lang.Throwable t)
Do nothingvoid
fatal(java.lang.Object message)
Do nothingvoid
fatal(java.lang.Object message, java.lang.Throwable t)
Do nothingvoid
info(java.lang.Object message)
Do nothingvoid
info(java.lang.Object message, java.lang.Throwable t)
Do nothingboolean
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(java.lang.Object message)
Do nothingvoid
trace(java.lang.Object message, java.lang.Throwable t)
Do nothingvoid
warn(java.lang.Object message)
Do nothingvoid
warn(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
-
-
Method Detail
-
trace
public void trace(java.lang.Object message)
Do nothing
-
trace
public void trace(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
debug
public void debug(java.lang.Object message)
Do nothing
-
debug
public void debug(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
info
public void info(java.lang.Object message)
Do nothing
-
info
public void info(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
warn
public void warn(java.lang.Object message)
Do nothing
-
warn
public void warn(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
error
public void error(java.lang.Object message)
Do nothing
-
error
public void error(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
fatal
public void fatal(java.lang.Object message)
Do nothing
-
fatal
public void fatal(java.lang.Object message, java.lang.Throwable t)
Do nothing
-
isDebugEnabled
public final boolean isDebugEnabled()
Debug is never enabled.- Specified by:
isDebugEnabled
in interfaceLog
- Returns:
- false
-
isErrorEnabled
public final boolean isErrorEnabled()
Error is never enabled.- Specified by:
isErrorEnabled
in interfaceLog
- Returns:
- false
-
isFatalEnabled
public final boolean isFatalEnabled()
Fatal is never enabled.- Specified by:
isFatalEnabled
in interfaceLog
- Returns:
- false
-
isInfoEnabled
public final boolean isInfoEnabled()
Info is never enabled.- Specified by:
isInfoEnabled
in interfaceLog
- Returns:
- false
-
isTraceEnabled
public final boolean isTraceEnabled()
Trace is never enabled.- Specified by:
isTraceEnabled
in interfaceLog
- Returns:
- false
-
isWarnEnabled
public final boolean isWarnEnabled()
Warn is never enabled.- Specified by:
isWarnEnabled
in interfaceLog
- Returns:
- false
-
-