> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# LogLevel

The log level for the channel.

Obtainable from: LogLevel.DEBUG, LogLevel.DISABLED, LogLevel.ERROR, LogLevel.INFO, LogLevel.WARNING, LogLevel.of

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/channel.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/channel.ts#L265)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const logLevel = medialive_alpha.LogLevel.DEBUG;
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

log_level = medialive_alpha.LogLevel.DEBUG
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;

LogLevel logLevel = LogLevel.DEBUG;
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var logLevel = LogLevel.DEBUG;
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

logLevel := medialive_alpha.LogLevel_DEBUG()
```

## Properties

- `DEBUG`: [LogLevel](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.LogLevel.html) (static) — Log everything.

- `DISABLED`: [LogLevel](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.LogLevel.html) (static) — Disable logging.

- `ERROR`: [LogLevel](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.LogLevel.html) (static) — Log errors only.

- `INFO`: [LogLevel](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.LogLevel.html) (static) — Log info, warnings, and errors.

- `value`: string — The underlying string value passed to CloudFormation.

- `WARNING`: [LogLevel](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.LogLevel.html) (static) — Log warnings and errors.

## Methods

- `of(value: string): LogLevel // chainable` (static) — A value not yet modelled by AWS CDK.
