Package org.eclipse.aether.spi.log
Class NullLogger
- java.lang.Object
-
- org.eclipse.aether.spi.log.NullLogger
-
-
Constructor Summary
Constructors Constructor Description NullLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.String msg)Emits the specified message.voiddebug(java.lang.String msg, java.lang.Throwable error)Emits the specified message along with a stack trace of the given exception.booleanisDebugEnabled()Indicates whether debug logging is enabled.booleanisWarnEnabled()Indicates whether warn logging is enabled.voidwarn(java.lang.String msg)Emits the specified message.voidwarn(java.lang.String msg, java.lang.Throwable error)Emits the specified message along with a stack trace of the given exception.
-
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
Description copied from interface:LoggerIndicates whether debug logging is enabled.- Specified by:
isDebugEnabledin interfaceLogger- Returns:
trueif debug logging is enabled,falseotherwise.
-
debug
public void debug(java.lang.String msg)
Description copied from interface:LoggerEmits the specified message.
-
debug
public void debug(java.lang.String msg, java.lang.Throwable error)Description copied from interface:LoggerEmits the specified message along with a stack trace of the given exception.
-
isWarnEnabled
public boolean isWarnEnabled()
Description copied from interface:LoggerIndicates whether warn logging is enabled.- Specified by:
isWarnEnabledin interfaceLogger- Returns:
trueif warn logging is enabled,falseotherwise.
-
warn
public void warn(java.lang.String msg)
Description copied from interface:LoggerEmits the specified message.
-
warn
public void warn(java.lang.String msg, java.lang.Throwable error)Description copied from interface:LoggerEmits the specified message along with a stack trace of the given exception.
-
-