Level Enum
The level of logging detail to include.
This applies to all log destinations for the event bus.
Example
ts
import { EventBus, IncludeDetail, Level } from 'aws-cdk-lib/aws-events';
const bus = new EventBus(this, 'Bus', {
logConfig: {
includeDetail: IncludeDetail.FULL,
level: Level.TRACE,
},
});
Members
| Member | 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. |
Referenced by
LogConfig.levellevellevelLevelLevel