Cloud PubSub V1 Client - Class Severity (2.8.1)

Reference documentation and code samples for the Cloud PubSub V1 Client class Severity.

Severity levels of Platform Logs.

Protobuf type google.pubsub.v1.PlatformLogsSettings.Severity

Namespace

Google \ Cloud \ PubSub \ V1 \ PlatformLogsSettings

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SEVERITY_UNSPECIFIED

Value: 0

Default value. Logs level is unspecified. Logs will be disabled.

Generated from protobuf enum SEVERITY_UNSPECIFIED = 0;

DISABLED

Value: 1

Logs will be disabled.

Generated from protobuf enum DISABLED = 1;

DEBUG

Value: 2

Debug logs and higher-severity logs will be written.

Generated from protobuf enum DEBUG = 2;

INFO

Value: 3

Info logs and higher-severity logs will be written.

Generated from protobuf enum INFO = 3;

WARNING

Value: 4

Warning logs and higher-severity logs will be written.

Generated from protobuf enum WARNING = 4;

ERROR

Value: 5

Only error logs will be written.

Generated from protobuf enum ERROR = 5;