# Google Cloud IoT Core V1 Client - Class LogLevel (1.7.5)

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

- [1.7.5 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-iot/latest/V1.LogLevel)
- [1.7.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.7.4/V1.LogLevel)
- [1.6.4](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.6.4/V1.LogLevel)
- [1.5.12](https://docs.cloud.google.com/php/docs/reference/cloud-iot/1.5.12/V1.LogLevel)
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.

Generated from protobuf enum `INFO = 30;`

### DEBUG

    Value: 40

All events will be logged.

Generated from protobuf enum `DEBUG = 40;`