| Constructor and Description |
|---|
NullLogger(String name)
Create a
NullLogger with the supplied name. |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object message)
Ignore logging output.
|
void |
debug(Supplier<Object> messageSupplier)
Ignore logging output.
|
void |
error(Object message)
Ignore logging output.
|
void |
error(Object message,
Throwable throwable)
Ignore logging output.
|
void |
error(Supplier<Object> messageSupplier)
Ignore logging output.
|
void |
error(Supplier<Object> messageSupplier,
Throwable throwable)
Ignore logging output.
|
String |
getName()
Get the name associated with this
NullLogger. |
void |
info(Object message)
Ignore logging output.
|
void |
info(Supplier<Object> messageSupplier)
Ignore logging output.
|
boolean |
isDebugEnabled()
Test whether debug output is enabled for this
NullLogger. |
boolean |
isErrorEnabled()
Test whether error output is enabled for this
NullLogger. |
boolean |
isInfoEnabled()
Test whether info output is enabled for this
NullLogger. |
boolean |
isTraceEnabled()
Test whether trace output is enabled for this
NullLogger. |
boolean |
isWarnEnabled()
Test whether warning output is enabled for this
NullLogger. |
void |
log(Level level,
Object message)
Ignore logging output.
|
void |
log(Level level,
Supplier<Object> messageSupplier)
Ignore logging output.
|
void |
trace(Object message)
Ignore logging output.
|
void |
trace(Supplier<Object> messageSupplier)
Ignore logging output.
|
void |
warn(Object message)
Ignore logging output.
|
void |
warn(Supplier<Object> messageSupplier)
Ignore logging output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefault, getDefaultpublic NullLogger(String name)
NullLogger with the supplied name.name - the namepublic String getName()
NullLogger.public boolean isTraceEnabled()
NullLogger.isTraceEnabled in interface Loggertrue if trace output is enabledpublic boolean isDebugEnabled()
NullLogger.isDebugEnabled in interface Loggertrue if debug output is enabledpublic boolean isInfoEnabled()
NullLogger.isInfoEnabled in interface Loggertrue if info output is enabledpublic boolean isWarnEnabled()
NullLogger.isWarnEnabled in interface Loggertrue if warning output is enabledpublic boolean isErrorEnabled()
NullLogger.isErrorEnabled in interface Loggertrue if error output is enabledpublic void trace(Object message)
public void debug(Object message)
public void info(Object message)
public void warn(Object message)
public void error(Object message)
public void error(Supplier<Object> messageSupplier, Throwable throwable)
Copyright © 2021. All rights reserved.