Class Slf4jFactory

  • All Implemented Interfaces:
    ILogFactory

    public class Slf4jFactory
    extends Object
    implements ILogFactory
    A LogFactory which uses the org.slf4j logging toolkit.
    Since:
    7.4
    Author:
    Jon van Leuven
    • Constructor Detail

      • Slf4jFactory

        public Slf4jFactory()
    • Method Detail

      • getLogger

        public Logger getLogger​(String name)
        Description copied from interface: ILogFactory
        Retrieves a logger for a name, mostly used for stdout adapters and jsps or aspx pages.
        Specified by:
        getLogger in interface ILogFactory
        Parameters:
        name - the name of the logger.
        Returns:
        Logger object which should never return null.
      • getLogger

        public Logger getLogger​(Class<?> classobject)
        Description copied from interface: ILogFactory
        Retrieves a logger for a name, mostly used for std:out adapters and jsps or aspx pages.
        Specified by:
        getLogger in interface ILogFactory
        Parameters:
        classobject - The class which is tied to this logger.
        Returns:
        Logger object which should never return null.