Package org.eclipse.aether.spi.log
Class NullLogger
java.lang.Object
org.eclipse.aether.spi.log.NullLogger
- All Implemented Interfaces:
Logger
A logger that disables any logging.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEmits the specified message.voidEmits the specified message along with a stack trace of the given exception.booleanIndicates whether debug logging is enabled.booleanIndicates whether warn logging is enabled.voidEmits the specified message.voidEmits the specified message along with a stack trace of the given exception.
-
Constructor Details
-
NullLogger
NullLogger()
-
-
Method Details
-
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
Description copied from interface:LoggerEmits the specified message. -
debug
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
Description copied from interface:LoggerEmits the specified message. -
warn
Description copied from interface:LoggerEmits the specified message along with a stack trace of the given exception.
-