Class TestLoggerFactory
- java.lang.Object
-
- org.eclipse.aether.internal.test.util.TestLoggerFactory
-
- All Implemented Interfaces:
LoggerFactory
@Deprecated public final class TestLoggerFactory extends java.lang.Object implements LoggerFactory
Deprecated.Use SLF4J insteadA logger factory that writes to somePrintStream
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TestLoggerFactory.TestLogger
Deprecated.
-
Constructor Summary
Constructors Constructor Description TestLoggerFactory()
Deprecated.Creates a new logger factory that writes toSystem.out
.TestLoggerFactory(java.io.PrintStream out)
Deprecated.Creates a new logger factory that writes to the specified print stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Logger
getLogger(java.lang.String name)
Deprecated.Gets a logger for a class with the specified name.
-
-
-
Field Detail
-
logger
private final Logger logger
Deprecated.
-
-
Method Detail
-
getLogger
public Logger getLogger(java.lang.String name)
Deprecated.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
.
-
-