Reference documentation and code samples for the Cloud IoT v1 API enum 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.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLogLevel\u003c/code\u003e enum in the Cloud IoT v1 API controls the verbosity of device activity logging, allowing you to specify which events are written to logs.\u003c/p\u003e\n"],["\u003cp\u003eAvailable log levels include \u003ccode\u003eDebug\u003c/code\u003e (logs all events), \u003ccode\u003eError\u003c/code\u003e (logs error events), \u003ccode\u003eInfo\u003c/code\u003e (logs informational events like connections and disconnections), \u003ccode\u003eNone\u003c/code\u003e (disables logging), and \u003ccode\u003eUnspecified\u003c/code\u003e (disables logging if not set).\u003c/p\u003e\n"],["\u003cp\u003eSetting a \u003ccode\u003eLogLevel\u003c/code\u003e is inclusive, meaning enabling \u003ccode\u003eInfo\u003c/code\u003e logging will also include \u003ccode\u003eError\u003c/code\u003e logs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogLevel\u003c/code\u003e enum is part of the \u003ccode\u003eGoogle.Cloud.Iot.V1\u003c/code\u003e namespace and is included in the \u003ccode\u003eGoogle.Cloud.Iot.V1.dll\u003c/code\u003e assembly, with the latest available version of the documentation at 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]