|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.aether.spi.log.NullLogger
public class NullLogger
A logger that disables any logging.
| Field Summary | |
|---|---|
static Logger |
INSTANCE
|
| Constructor Summary | |
|---|---|
NullLogger()
|
|
| Method Summary | |
|---|---|
void |
debug(java.lang.String msg)
Emits the specified message. |
void |
debug(java.lang.String msg,
java.lang.Throwable error)
Emits the specified message along with a stack trace of the given exception. |
boolean |
isDebugEnabled()
Indicates whether debug logging is enabled. |
boolean |
isWarnEnabled()
Indicates whether warn logging is enabled. |
void |
warn(java.lang.String msg)
Emits the specified message. |
void |
warn(java.lang.String msg,
java.lang.Throwable error)
Emits the specified message along with a stack trace of the given exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Logger INSTANCE
| Constructor Detail |
|---|
public NullLogger()
| Method Detail |
|---|
public boolean isDebugEnabled()
Logger
isDebugEnabled in interface Loggertrue if debug logging is enabled, false otherwise.public void debug(java.lang.String msg)
Logger
debug in interface Loggermsg - The message to log, must not be null.
public void debug(java.lang.String msg,
java.lang.Throwable error)
Logger
debug in interface Loggermsg - The message to log, must not be null.error - The exception to log, may be null.public boolean isWarnEnabled()
Logger
isWarnEnabled in interface Loggertrue if warn logging is enabled, false otherwise.public void warn(java.lang.String msg)
Logger
warn in interface Loggermsg - The message to log, must not be null.
public void warn(java.lang.String msg,
java.lang.Throwable error)
Logger
warn in interface Loggermsg - The message to log, must not be null.error - The exception to log, may be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||