Enum LoggerInf.LogLevel

java.lang.Object
java.lang.Enum<LoggerInf.LogLevel>
org.cdlib.mrt.utility.LoggerInf.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LoggerInf.LogLevel>
Enclosing interface:
LoggerInf

public static enum LoggerInf.LogLevel extends Enum<LoggerInf.LogLevel>
Enumeration of logging levels and corresponding verbosity level
  • Enum Constant Details

  • Field Details

    • level

      protected final int level
    • description

      protected final String description
  • Method Details

    • values

      public static LoggerInf.LogLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LoggerInf.LogLevel 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
    • getLevel

      public int getLevel()
    • getVersion

      public String getVersion()
    • valueOf

      public static LoggerInf.LogLevel valueOf(int n)
      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:
      n - 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