Package com.google.cloud.logging
Enum Severity
- All Implemented Interfaces:
Serializable
,Comparable<Severity>
The severity of the event described in a log entry. These guideline severity levels are ordered,
with numerically smaller levels treated as less severe than numerically larger levels. If the
source of the log entries uses a different set of severity levels, the client should select the
closest corresponding
Severity
value.-
Enum Constant Summary
Enum ConstantDescriptionA person must take an action immediately.Critical events cause more severe problems or brief outages.Debug or trace information.The log entry has no assigned severity level.One or more systems are unusable.Error events are likely to cause problems.Routine information, such as ongoing status or performance.The None severity level.Normal but significant events, such as start up, shut down, or configuration.Warning events might cause problems. -
Method Summary
-
Enum Constant Details
-
NONE
The None severity level. Should not be used with log entries. -
DEFAULT
The log entry has no assigned severity level. -
DEBUG
Debug or trace information. -
INFO
Routine information, such as ongoing status or performance. -
NOTICE
Normal but significant events, such as start up, shut down, or configuration. -
WARNING
Warning events might cause problems. -
ERROR
Error events are likely to cause problems. -
CRITICAL
Critical events cause more severe problems or brief outages. -
ALERT
A person must take an action immediately. -
EMERGENCY
One or more systems are unusable.
-
-
Method Details
-
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
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
-