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 TypeMethodDescriptionvoid
Emits the specified message.void
Emits the specified message along with a stack trace of the given exception.boolean
Indicates whether debug logging is enabled.boolean
Indicates whether warn logging is enabled.void
Emits the specified message.void
Emits 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:Logger
Indicates whether warn logging is enabled.- Specified by:
isWarnEnabled
in interfaceLogger
- Returns:
true
if warn logging is enabled,false
otherwise.
-
warn
Description copied from interface:Logger
Emits the specified message along with a stack trace of the given exception. -
warn
Description copied from interface:Logger
Emits the specified message. -
isDebugEnabled
public boolean isDebugEnabled()Description copied from interface:Logger
Indicates whether debug logging is enabled.- Specified by:
isDebugEnabled
in interfaceLogger
- Returns:
true
if debug logging is enabled,false
otherwise.
-
debug
Description copied from interface:Logger
Emits the specified message along with a stack trace of the given exception. -
debug
Description copied from interface:Logger
Emits the specified message.
-