Class Slf4jLoggerFactory

    • Constructor Detail

      • Slf4jLoggerFactory

        public Slf4jLoggerFactory()
        Creates an instance of this logger factory.
    • Method Detail

      • initService

        public void initService​(ServiceLocator locator)
        Description copied from interface: Service
        Provides the opportunity to initialize this service and to acquire other services for its operation from the locator. A service must not save the reference to the provided service locator.
        Specified by:
        initService in interface Service
        Parameters:
        locator - The service locator, must not be null.
      • getLogger

        public Logger getLogger​(String name)
        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.