google.cloud.gapic.logging.v2.enums

Wrappers for protocol buffer enum types.

Classes

LabelDescriptor
LogMetric
LogSeverity The severity of the event described in a log entry, expressed as one of the standard severity levels listed below.
LogSink
NullValue NullValue is a singleton enumeration to represent the null value for the
class google.cloud.gapic.logging.v2.enums.LogSeverity[source]

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.

You can filter for log entries by severity. For example, the following filter expression will match log entries with severities INFO, NOTICE, and WARNING:

severity > DEBUG AND severity <= WARNING

If you are writing log entries, you should map other severity encodings to one of these standard levels. For example, you might map all of Java’s FINE, FINER, and FINEST levels to LogSeverity.DEBUG. You can preserve the original severity level in the log entry payload if you wish.

DEFAULT

int

  1. The log entry has no assigned severity level.
DEBUG

int

  1. Debug or trace information.
INFO

int

  1. Routine information, such as ongoing status or performance.
NOTICE

int

(300) Normal but significant events, such as start up, shut down, or a configuration change.

WARNING

int

  1. Warning events might cause problems.
ERROR

int

  1. Error events are likely to cause problems.
CRITICAL

int

  1. Critical events cause more severe problems or outages.
ALERT

int

  1. A person must take an action immediately.
EMERGENCY

int

  1. One or more systems are unusable.
class google.cloud.gapic.logging.v2.enums.NullValue[source]

NullValue is a singleton enumeration to represent the null value for the Value type union.

The JSON representation for NullValue is JSON null.
NULL_VALUE

int

Null value.