Enum Class Severity

java.lang.Object
java.lang.Enum<Severity>
io.camunda.zeebe.util.logging.stackdriver.Severity
All Implemented Interfaces:
Serializable, Comparable<Severity>, Constable

public enum Severity extends Enum<Severity>
The severity of the event described in a log entry, expressed as one of the standard severity levels listed below. For your reference, the levels are assigned the listed numeric values. The effect of using numeric values other than those listed is undefined.

https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity

  • Enum Constant Details

    • DEFAULT

      public static final Severity DEFAULT
    • DEBUG

      public static final Severity DEBUG
    • INFO

      public static final Severity INFO
    • NOTICE

      public static final Severity NOTICE
    • WARNING

      public static final Severity WARNING
    • ERROR

      public static final Severity ERROR
    • CRITICAL

      public static final Severity CRITICAL
    • ALERT

      public static final Severity ALERT
    • EMERGENCY

      public static final Severity EMERGENCY
  • Method Details

    • values

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

      public int getLevel()