# DisableLogging

Disables logging for error logs.

When this class is used, logging is disabled (`logging: false`)
and no CloudWatch log group can be specified.

Extends: DisableLogging
Implements: ILoggingConfig

- Source: [`aws-kinesisfirehose/lib/logging-config.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-kinesisfirehose/lib/logging-config.ts#L49)
- Type last changed: v2.178.0 · 6 Feb 2025

## Example

```ts
declare const bucket: s3.Bucket;
const destination = new firehose.S3Bucket(bucket, {
  loggingConfig: new firehose.DisableLogging(),
});
new firehose.DeliveryStream(this, 'Delivery Stream', {
  destination: destination,
});
```

## Initializer

```ts
new DisableLogging()
```

## Properties

- `logging`: boolean — If true, log errors when data transformation or data delivery fails.

  `true` when using `EnableLogging`, `false` when using `DisableLogging`.
