Enum Class Log.Severity

java.lang.Object
java.lang.Enum<Log.Severity>
mastermind.utils.Log.Severity
All Implemented Interfaces:
Serializable, Comparable<Log.Severity>, Constable
Enclosing class:
Log

public static enum Log.Severity extends Enum<Log.Severity>
Represents the severity levels of log messages.
  • Enum Constant Details

    • TRACE

      public static final Log.Severity TRACE
      The TRACE severity level.
    • DEBUG

      public static final Log.Severity DEBUG
      The DEBUG severity level.
    • INFO

      public static final Log.Severity INFO
      The INFO severity level.
    • WARNING

      public static final Log.Severity WARNING
      The WARNING severity level.
    • ERROR

      public static final Log.Severity ERROR
      The ERROR severity level.
    • FATAL

      public static final Log.Severity FATAL
      The FATAL severity level.
  • Method Details

    • values

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

      public static Log.Severity valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null