Reference documentation and code samples for the Google Cloud IoT Core V1 Client class LogLevel.
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 type google.cloud.iot.v1.LogLevel
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
LOG_LEVEL_UNSPECIFIED
Value: 0
No logging specified. If not specified, logging will be disabled.
Generated from protobuf enum LOG_LEVEL_UNSPECIFIED = 0;
NONE
Value: 10
Disables logging.
Generated from protobuf enum NONE = 10;
ERROR
Value: 20
Error events will be logged.
Generated from protobuf enum ERROR = 20;
INFO
Value: 30
Informational events will be logged, such as connections and disconnections.
Generated from protobuf enum INFO = 30;
DEBUG
Value: 40
All events will be logged.
Generated from protobuf enum DEBUG = 40;