Package elf4j.util

Enum InternalLogger

    • Field Detail

      • ELF4J_INTERNAL_LOG_LEVEL

        public static final String ELF4J_INTERNAL_LOG_LEVEL
        System property to set minimum severity level of the internal logger's output
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static InternalLogger[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InternalLogger c : InternalLogger.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InternalLogger valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • log

        public void log​(Level level,
                        String message)
        Parameters:
        level - to log
        message - to log
      • log

        public void log​(Level level,
                        Throwable throwable,
                        String message)
        Parameters:
        level - to log
        throwable - to log
        message - to log