public class NoOpLog extends Object implements Log, Serializable
Constructor and Description |
---|
NoOpLog()
Convenience constructor
|
NoOpLog(String name)
Base constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
public NoOpLog()
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 © 2001–2014 The Apache Software Foundation. All rights reserved.