Class TestLoggerFactory.TestLogger
- java.lang.Object
-
- org.eclipse.aether.internal.test.util.TestLoggerFactory.TestLogger
-
- All Implemented Interfaces:
Logger
- Enclosing class:
- TestLoggerFactory
private static final class TestLoggerFactory.TestLogger extends java.lang.Object implements Logger
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.PrintStreamout
-
Constructor Summary
Constructors Constructor Description TestLogger(java.io.PrintStream out)
-
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
-
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, java.lang.Throwable error)Description copied from interface:LoggerEmits the specified message along with a stack trace of the given exception.
-
warn
public void warn(java.lang.String msg)
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
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.
-
-