|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.logging.impl.NoOpLog
Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
Constructor Summary | |
NoOpLog()
Convenience constructor |
|
NoOpLog(java.lang.String name)
Base constructor |
Method Summary | |
void |
debug(java.lang.Object message)
Do nothing |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Do nothing |
void |
error(java.lang.Object message)
Do nothing |
void |
error(java.lang.Object message,
java.lang.Throwable t)
Do nothing |
void |
fatal(java.lang.Object message)
Do nothing |
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
Do nothing |
void |
info(java.lang.Object message)
Do nothing |
void |
info(java.lang.Object message,
java.lang.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(java.lang.Object message)
Do nothing |
void |
trace(java.lang.Object message,
java.lang.Throwable t)
Do nothing |
void |
warn(java.lang.Object message)
Do nothing |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Do nothing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoOpLog()
public NoOpLog(java.lang.String name)
Method Detail |
public void trace(java.lang.Object message)
trace
in interface Log
message
- log this messagepublic void trace(java.lang.Object message, java.lang.Throwable t)
trace
in interface Log
message
- log this messaget
- log this causepublic void debug(java.lang.Object message)
debug
in interface Log
message
- log this messagepublic void debug(java.lang.Object message, java.lang.Throwable t)
debug
in interface Log
message
- log this messaget
- log this causepublic void info(java.lang.Object message)
info
in interface Log
message
- log this messagepublic void info(java.lang.Object message, java.lang.Throwable t)
info
in interface Log
message
- log this messaget
- log this causepublic void warn(java.lang.Object message)
warn
in interface Log
message
- log this messagepublic void warn(java.lang.Object message, java.lang.Throwable t)
warn
in interface Log
message
- log this messaget
- log this causepublic void error(java.lang.Object message)
error
in interface Log
message
- log this messagepublic void error(java.lang.Object message, java.lang.Throwable t)
error
in interface Log
message
- log this messaget
- log this causepublic void fatal(java.lang.Object message)
fatal
in interface Log
message
- log this messagepublic void fatal(java.lang.Object message, java.lang.Throwable t)
fatal
in interface Log
message
- log this messaget
- log this causepublic final boolean isDebugEnabled()
isDebugEnabled
in interface Log
public final boolean isErrorEnabled()
isErrorEnabled
in interface Log
public final boolean isFatalEnabled()
isFatalEnabled
in interface Log
public final boolean isInfoEnabled()
isInfoEnabled
in interface Log
public final boolean isTraceEnabled()
isTraceEnabled
in interface Log
public final boolean isWarnEnabled()
isWarnEnabled
in interface Log
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |