Enum Level
The level of logging detail to include.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum Level
Syntax (vb)
Public Enum Level
Remarks
This applies to all log destinations for the event bus.
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Events;
var bus = new EventBus(this, "Bus", new EventBusProps {
LogConfig = new LogConfig {
IncludeDetail = IncludeDetail.FULL,
Level = Level.TRACE
}
});
Synopsis
Fields
| ERROR | ERROR: EventBridge sends any logs related to errors generated during event processing and target delivery. |
| INFO | INFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing. |
| OFF | OFF: EventBridge does not send any logs. |
| TRACE | TRACE: EventBridge sends any logs generated during all steps in the event processing. |
Fields
| Name | Description |
|---|---|
| ERROR | ERROR: EventBridge sends any logs related to errors generated during event processing and target delivery. |
| INFO | INFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing. |
| OFF | OFF: EventBridge does not send any logs. |
| TRACE | TRACE: EventBridge sends any logs generated during all steps in the event processing. |