Class LoggerFactory

    • Constructor Detail

      • LoggerFactory

        public LoggerFactory()
    • Method Detail

      • setDefaultFactory

        public static void setDefaultFactory​(LoggerFactory defaultFactory)
        Changes the default factory.
      • getLogger

        public static Logger getLogger​(Class<?> clazz)
        Creates a new logger instance with the name of the specified class.
      • getLogger

        public static Logger getLogger​(String name)
        Creates a new logger instance with the specified name.
      • newInstance

        protected abstract Logger newInstance​(String name)
        Creates a new logger instance with the specified name.