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.
Constructor and Description |
---|
NoOpLog()
Convenience constructor
|
NoOpLog(java.lang.String name)
Base constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
public NoOpLog()
public NoOpLog(java.lang.String name)
public void trace(java.lang.Object message)
public void trace(java.lang.Object message, java.lang.Throwable t)
public void debug(java.lang.Object message)
public void debug(java.lang.Object message, java.lang.Throwable t)
public void info(java.lang.Object message)
public void info(java.lang.Object message, java.lang.Throwable t)
public void warn(java.lang.Object message)
public void warn(java.lang.Object message, java.lang.Throwable t)
public void error(java.lang.Object message)
public void error(java.lang.Object message, java.lang.Throwable t)
public void fatal(java.lang.Object message)
public void fatal(java.lang.Object message, java.lang.Throwable t)
public 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
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"