Enum LogLevel (2.15.0)

public enum LogLevel extends Enum<LogLevel> implements ProtocolMessageEnum

Beta Feature The logging verbosity for device activity. Specifies which events should be written to logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive; enabling INFO logging will also enable ERROR logging.

Protobuf enum google.cloud.iot.v1.LogLevel

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DEBUG

All events will be logged.

DEBUG = 40;

DEBUG_VALUE

All events will be logged.

DEBUG = 40;

ERROR

Error events will be logged.

ERROR = 20;

ERROR_VALUE

Error events will be logged.

ERROR = 20;

INFO

Informational events will be logged, such as connections and disconnections.

INFO = 30;

INFO_VALUE

Informational events will be logged, such as connections and disconnections.

INFO = 30;

LOG_LEVEL_UNSPECIFIED

No logging specified. If not specified, logging will be disabled.

LOG_LEVEL_UNSPECIFIED = 0;

LOG_LEVEL_UNSPECIFIED_VALUE

No logging specified. If not specified, logging will be disabled.

LOG_LEVEL_UNSPECIFIED = 0;

NONE

Disables logging.

NONE = 10;

NONE_VALUE

Disables logging.

NONE = 10;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()