Class TestLoggerFactory.TestLogger
java.lang.Object
org.eclipse.aether.internal.test.util.TestLoggerFactory.TestLogger
- All Implemented Interfaces:
Logger
- Enclosing class:
TestLoggerFactory
-
Field Summary
Fields -
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.
-
Field Details
-
out
-
-
Constructor Details
-
TestLogger
TestLogger(PrintStream out)
-
-
Method Details
-
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 along with a stack trace of the given exception. -
warn
Description copied from interface:LoggerEmits the specified message. -
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 along with a stack trace of the given exception. -
debug
Description copied from interface:LoggerEmits the specified message.
-