Class TestLoggerFactory
java.lang.Object
org.eclipse.aether.internal.test.util.TestLoggerFactory
- All Implemented Interfaces:
LoggerFactory
A logger factory that writes to some
PrintStream
.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new logger factory that writes toSystem.out
.Creates a new logger factory that writes to the specified print stream. -
Method Summary
-
Field Details
-
logger
-
-
Constructor Details
-
TestLoggerFactory
public TestLoggerFactory()Creates a new logger factory that writes toSystem.out
. -
TestLoggerFactory
Creates a new logger factory that writes to the specified print stream.
-
-
Method Details
-
getLogger
Description copied from interface:LoggerFactory
Gets a logger for a class with the specified name.- Specified by:
getLogger
in interfaceLoggerFactory
- Parameters:
name
- The name of the class requesting a logger, must not benull
.- Returns:
- The requested logger, never
null
.
-