Class TestLoggerFactory

java.lang.Object
org.eclipse.aether.internal.test.util.TestLoggerFactory
All Implemented Interfaces:
LoggerFactory

@Deprecated public final class TestLoggerFactory extends Object implements LoggerFactory
Deprecated.
Use SLF4J instead
A logger factory that writes to some PrintStream.
  • Field Details

    • logger

      private final Logger logger
      Deprecated.
  • Constructor Details

    • TestLoggerFactory

      public TestLoggerFactory()
      Deprecated.
      Creates a new logger factory that writes to System.out.
    • TestLoggerFactory

      public TestLoggerFactory(PrintStream out)
      Deprecated.
      Creates a new logger factory that writes to the specified print stream.
  • Method Details

    • getLogger

      public Logger getLogger(String name)
      Deprecated.
      Description copied from interface: LoggerFactory
      Gets a logger for a class with the specified name.
      Specified by:
      getLogger in interface LoggerFactory
      Parameters:
      name - The name of the class requesting a logger, must not be null.
      Returns:
      The requested logger, never null.