# Cloud IoT V1 API - Module Google::Cloud::Iot::V1::LogLevel (v0.9.2)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.9.2 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/latest/Google-Cloud-Iot-V1-LogLevel)
- [0.9.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.9.1/Google-Cloud-Iot-V1-LogLevel)
- [0.8.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.8.0/Google-Cloud-Iot-V1-LogLevel)
- [0.7.1](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.7.1/Google-Cloud-Iot-V1-LogLevel)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.6.0/Google-Cloud-Iot-V1-LogLevel)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.5.0/Google-Cloud-Iot-V1-LogLevel)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.4.0/Google-Cloud-Iot-V1-LogLevel)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iot-v1/0.3.5/Google-Cloud-Iot-V1-LogLevel)
Reference documentation and code samples for the Cloud IoT V1 API module Google::Cloud::Iot::V1::LogLevel.

**Beta Feature**


<br />

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.

## Constants

### LOG_LEVEL_UNSPECIFIED

**value:** 0  
No logging specified. If not specified, logging will be disabled.

### NONE

**value:** 10  
Disables logging.

### ERROR

**value:** 20  
Error events will be logged.

### INFO

**value:** 30  
Informational events will be logged, such as connections and
disconnections.

### DEBUG

**value:** 40  
All events will be logged.