Enum LoggerSeverity

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LoggerSeverity>

    public enum LoggerSeverity
    extends java.lang.Enum<LoggerSeverity>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEBUGLEVEL
      The severity of a debug message.
      ERRORLEVEL
      The severity of error messages.
      INFOLEVEL
      The severity of informative messages.
      VERBOSELEVEL
      The severity of a verbose message.
      WARNLEVEL
      The severity of warning messages.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LoggerSeverity valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LoggerSeverity[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • VERBOSELEVEL

        public static final LoggerSeverity VERBOSELEVEL
        The severity of a verbose message. Logging verbose messages can have a performance impact.
      • DEBUGLEVEL

        public static final LoggerSeverity DEBUGLEVEL
        The severity of a debug message. Logging debug messages can have a performance impact. Debug messages shouldn't be used in production.
      • INFOLEVEL

        public static final LoggerSeverity INFOLEVEL
        The severity of informative messages.
      • WARNLEVEL

        public static final LoggerSeverity WARNLEVEL
        The severity of warning messages.
      • ERRORLEVEL

        public static final LoggerSeverity ERRORLEVEL
        The severity of error messages.
    • Method Detail

      • values

        public static LoggerSeverity[] 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 (LoggerSeverity c : LoggerSeverity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LoggerSeverity valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null