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
Namespace
Google \ Cloud \ Iot \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud IoT Core V1 Client - Class LogLevel (1.7.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.5 (latest)](/php/docs/reference/cloud-iot/latest/V1.LogLevel)\n- [1.7.4](/php/docs/reference/cloud-iot/1.7.4/V1.LogLevel)\n- [1.6.4](/php/docs/reference/cloud-iot/1.6.4/V1.LogLevel)\n- [1.5.12](/php/docs/reference/cloud-iot/1.5.12/V1.LogLevel) \nReference documentation and code samples for the Google Cloud IoT Core V1 Client class LogLevel.\n\n**Beta Feature**\nThe logging verbosity for device activity. Specifies which events should be\nwritten to logs. For example, if the LogLevel is ERROR, only events that\nterminate in errors will be logged. LogLevel is inclusive; enabling INFO\nlogging will also enable ERROR logging.\n\nProtobuf type `google.cloud.iot.v1.LogLevel`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iot \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### LOG_LEVEL_UNSPECIFIED\n\n Value: 0\n\nNo logging specified. If not specified, logging will be disabled.\n\nGenerated from protobuf enum `LOG_LEVEL_UNSPECIFIED = 0;`\n\n### NONE\n\n Value: 10\n\nDisables logging.\n\nGenerated from protobuf enum `NONE = 10;`\n\n### ERROR\n\n Value: 20\n\nError events will be logged.\n\nGenerated from protobuf enum `ERROR = 20;`\n\n### INFO\n\n Value: 30\n\nInformational events will be logged, such as connections and\ndisconnections.\n\nGenerated from protobuf enum `INFO = 30;`\n\n### DEBUG\n\n Value: 40\n\nAll events will be logged.\n\nGenerated from protobuf enum `DEBUG = 40;`"]]