Class 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 some PrintStream.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestLoggerFactory()
      Creates a new logger factory that writes to System.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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestLoggerFactory

        public TestLoggerFactory()
        Creates a new logger factory that writes to System.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 interface org.eclipse.aether.spi.log.LoggerFactory