Class TestLoggerFactory
- java.lang.Object
-
- org.eclipse.aether.internal.test.util.TestLoggerFactory
-
- All Implemented Interfaces:
org.eclipse.aether.spi.log.LoggerFactory
public final class TestLoggerFactory extends java.lang.Object implements org.eclipse.aether.spi.log.LoggerFactory
A logger factory that writes to somePrintStream
.
-
-
Constructor Summary
Constructors Constructor Description TestLoggerFactory()
Creates a new logger factory that writes toSystem.out
.TestLoggerFactory(java.io.PrintStream out)
Creates a new logger factory that writes to the specified print stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.spi.log.Logger
getLogger(java.lang.String name)
-
-
-
Constructor Detail
-
TestLoggerFactory
public TestLoggerFactory()
Creates a new logger factory that writes toSystem.out
.
-
TestLoggerFactory
public TestLoggerFactory(java.io.PrintStream out)
Creates a new logger factory that writes to the specified print stream.
-
-
Method Detail
-
getLogger
public org.eclipse.aether.spi.log.Logger getLogger(java.lang.String name)
- Specified by:
getLogger
in interfaceorg.eclipse.aether.spi.log.LoggerFactory
-
-