# Google Cloud Video Live Stream V1 Client - Class LogConfig (1.4.0)

1.4.0 (latest) 1.3.2 1.2.1 1.1.3 1.0.0 0.7.5 0.6.2 0.5.0 0.4.2 0.3.2 0.2.6 Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class LogConfig.

Configuration of platform logs.

See [Using and managing platform
logs](https://cloud.google.com/logging/docs/api/platform-logs#managing-logs)
for more information about how to view platform logs through Cloud Logging.

Generated from protobuf message `google.cloud.video.livestream.v1.LogConfig`

## Namespace

Google \\ Cloud \\ Video \\ LiveStream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ log_severity` | `int` The severity level of platform logging for this resource. |

### getLogSeverity

The severity level of platform logging for this resource.

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

### setLogSeverity

The severity level of platform logging for this resource.

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

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