|
SLF4J API Version 1.4.3 |
|||||||||
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
public class NoOpLog
Trivial implementation of Log that throws away all messages. No configurable system properties are supported.
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoOpLog()
public NoOpLog(String name)
Method Detail |
---|
public void trace(Object message)
trace
in interface Log
message
- log this messagepublic void trace(Object message, Throwable t)
trace
in interface Log
message
- log this messaget
- log this causepublic void debug(Object message)
debug
in interface Log
message
- log this messagepublic void debug(Object message, Throwable t)
debug
in interface Log
message
- log this messaget
- log this causepublic void info(Object message)
info
in interface Log
message
- log this messagepublic void info(Object message, Throwable t)
info
in interface Log
message
- log this messaget
- log this causepublic void warn(Object message)
warn
in interface Log
message
- log this messagepublic void warn(Object message, Throwable t)
warn
in interface Log
message
- log this messaget
- log this causepublic void error(Object message)
error
in interface Log
message
- log this messagepublic void error(Object message, Throwable t)
error
in interface Log
message
- log this messaget
- log this causepublic void fatal(Object message)
fatal
in interface Log
message
- log this messagepublic void fatal(Object message, 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
|
SLF4J API Version 1.4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |