Class AntLoggerFactory

  • All Implemented Interfaces:
    org.slf4j.ILoggerFactory

    public class AntLoggerFactory
    extends java.lang.Object
    implements org.slf4j.ILoggerFactory
    An implementation of ILoggerFactory which always returns AntLoggerAdapter instances.
    Author:
    colezlaw
    • Constructor Summary

      Constructors 
      Constructor Description
      AntLoggerFactory​(org.apache.tools.ant.Task task)
      Constructs a new Ant Logger Factory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.slf4j.Logger getLogger​(java.lang.String name)
      Returns the Ant logger adapter.
      • Methods inherited from class java.lang.Object

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

      • AntLoggerFactory

        public AntLoggerFactory​(org.apache.tools.ant.Task task)
        Constructs a new Ant Logger Factory.
        Parameters:
        task - the Ant task to use for logging
    • Method Detail

      • getLogger

        public org.slf4j.Logger getLogger​(java.lang.String name)
        Returns the Ant logger adapter.
        Specified by:
        getLogger in interface org.slf4j.ILoggerFactory
        Parameters:
        name - ignored in this implementation
        Returns:
        the Ant logger adapter