enum Level
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Events.Level |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#Level |
![]() | software.amazon.awscdk.services.events.Level |
![]() | aws_cdk.aws_events.Level |
![]() | aws-cdk-lib » aws_events » Level |
The level of logging detail to include.
This applies to all log destinations for the event bus.
Example
import { EventBus, IncludeDetail, Level } from 'aws-cdk-lib/aws-events';
const bus = new EventBus(this, 'Bus', {
logConfig: {
includeDetail: IncludeDetail.FULL,
level: Level.TRACE,
},
});
Members
Name | Description |
---|---|
INFO | INFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing. |
ERROR | ERROR: EventBridge sends any logs related to errors generated during event processing and target delivery. |
TRACE | TRACE: EventBridge sends any logs generated during all steps in the event processing. |
OFF | OFF: EventBridge does not send any logs. |
INFO
INFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing.
ERROR
ERROR: EventBridge sends any logs related to errors generated during event processing and target delivery.
TRACE
TRACE: EventBridge sends any logs generated during all steps in the event processing.
OFF
OFF: EventBridge does not send any logs.
This is the default.