Class LoggerFactory


  • public class LoggerFactory
    extends Object
    A factory for Logger instances that uses SLF4J if present, falling back on a java.util.logging implementation otherwise.
    • Constructor Detail

      • LoggerFactory

        public LoggerFactory()
    • Method Detail

      • getLogger

        public static Logger getLogger​(Class<?> hostClass)
        Get a Logger instance for the given host class.
        Parameters:
        hostClass - the host class from which log messages will be issued
        Returns:
        a Logger