Class InternalLoggerFactory

    • Constructor Detail

      • InternalLoggerFactory

        public InternalLoggerFactory()
    • Method Detail

      • setDefaultFactory

        public static void setDefaultFactory​(InternalLoggerFactory defaultFactory)
        Set the default factory. This method must be invoked before the default factory is initialized via getDefaultFactory(), and can not be invoked multiple times.
        Parameters:
        defaultFactory - a non-null implementation of InternalLoggerFactory
      • getInstance

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

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

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