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.
Values:
LOG_LEVEL_UNSPECIFIED (0):
No logging specified. If not specified,
logging will be disabled.
NONE (10):
Disables logging.
ERROR (20):
Error events will be logged.
INFO (30):
Informational events will be logged, such as
connections and disconnections.
DEBUG (40):
All events will be logged.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class LogLevel (2.9.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.9.2 (latest)](/python/docs/reference/cloudiot/latest/google.cloud.iot_v1.types.LogLevel)\n- [2.9.1](/python/docs/reference/cloudiot/2.9.1/google.cloud.iot_v1.types.LogLevel)\n- [2.8.1](/python/docs/reference/cloudiot/2.8.1/google.cloud.iot_v1.types.LogLevel)\n- [2.7.0](/python/docs/reference/cloudiot/2.7.0/google.cloud.iot_v1.types.LogLevel)\n- [2.6.4](/python/docs/reference/cloudiot/2.6.4/google.cloud.iot_v1.types.LogLevel)\n- [2.5.1](/python/docs/reference/cloudiot/2.5.1/google.cloud.iot_v1.types.LogLevel)\n- [2.4.1](/python/docs/reference/cloudiot/2.4.1/google.cloud.iot_v1.types.LogLevel)\n- [2.3.0](/python/docs/reference/cloudiot/2.3.0/google.cloud.iot_v1.types.LogLevel)\n- [2.2.1](/python/docs/reference/cloudiot/2.2.1/google.cloud.iot_v1.types.LogLevel)\n- [2.1.0](/python/docs/reference/cloudiot/2.1.0/google.cloud.iot_v1.types.LogLevel)\n- [2.0.2](/python/docs/reference/cloudiot/2.0.2/google.cloud.iot_v1.types.LogLevel)\n- [1.0.2](/python/docs/reference/cloudiot/1.0.2/google.cloud.iot_v1.types.LogLevel)\n- [0.3.3](/python/docs/reference/cloudiot/0.3.3/google.cloud.iot_v1.types.LogLevel) \n\n LogLevel(value)\n\n**Beta Feature**\n\nThe logging verbosity for device activity. Specifies which events\nshould be written to logs. For example, if the LogLevel is ERROR,\nonly events that terminate in errors will be logged. LogLevel is\ninclusive; enabling INFO logging will also enable ERROR logging.\n\nValues:\nLOG_LEVEL_UNSPECIFIED (0):\nNo logging specified. If not specified,\nlogging will be disabled.\nNONE (10):\nDisables logging.\nERROR (20):\nError events will be logged.\nINFO (30):\nInformational events will be logged, such as\nconnections and disconnections.\nDEBUG (40):\nAll events will be logged."]]