Package com.couchbase.client.core.cnc
Enum Event.Severity
- java.lang.Object
-
- java.lang.Enum<Event.Severity>
-
- com.couchbase.client.core.cnc.Event.Severity
-
- All Implemented Interfaces:
Serializable
,Comparable<Event.Severity>
- Enclosing interface:
- Event
public static enum Event.Severity extends Enum<Event.Severity>
Describes the severity of any given event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEBUG
Information that guide debugging and in-depth troubleshooting.ERROR
Critical errors that require immediate attention and/or problems which are not recoverable by the system itself.INFO
Should rely non-critical information.TRACING
Events that are created which deal with request and response tracing (not to be confused with TRACE logging which is on purpose called VERBOSE here so that they are not easily confused).VERBOSE
Verbose information used to trace certain actual data throughout the system.WARN
Indicates that a component is in a non-ideal state and that something could escalate into an error potentially.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Event.Severity
valueOf(String name)
Returns the enum constant of this type with the specified name.static Event.Severity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERBOSE
public static final Event.Severity VERBOSE
Verbose information used to trace certain actual data throughout the system.
-
DEBUG
public static final Event.Severity DEBUG
Information that guide debugging and in-depth troubleshooting.
-
INFO
public static final Event.Severity INFO
Should rely non-critical information.
-
WARN
public static final Event.Severity WARN
Indicates that a component is in a non-ideal state and that something could escalate into an error potentially.
-
ERROR
public static final Event.Severity ERROR
Critical errors that require immediate attention and/or problems which are not recoverable by the system itself.
-
TRACING
public static final Event.Severity TRACING
Events that are created which deal with request and response tracing (not to be confused with TRACE logging which is on purpose called VERBOSE here so that they are not easily confused).
-
-
Method Detail
-
values
public static Event.Severity[] 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 (Event.Severity c : Event.Severity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Event.Severity 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 nameNullPointerException
- if the argument is null
-
-