# Google Cloud Eventarc V1 Client - Class LoggingConfig (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.5 2.0.1 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Eventarc V1 Client class LoggingConfig.

The configuration for Platform Telemetry logging for Eventarc Advanced
resources.

Generated from protobuf message `google.cloud.eventarc.v1.LoggingConfig`

## Namespace

Google \\ Cloud \\ Eventarc \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ log_severity` | `int` Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE. |

### getLogSeverity

Optional. The minimum severity of logs that will be sent to
Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be
sent, unless it is NONE.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [LogSeverity](https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.LoggingConfig.LogSeverity). |

### setLogSeverity

Optional. The minimum severity of logs that will be sent to
Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be
sent, unless it is NONE.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [LogSeverity](https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.LoggingConfig.LogSeverity). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |