LogLevel Enum
Defines which category of execution history events are logged.
Example
ts
import * as logs from 'aws-cdk-lib/aws-logs';
const logGroup = new logs.LogGroup(this, 'MyLogGroup');
const definition = sfn.Chain.start(new sfn.Pass(this, 'Pass'));
new sfn.StateMachine(this, 'MyStateMachine', {
definitionBody: sfn.DefinitionBody.fromChainable(definition),
logs: {
destination: logGroup,
level: sfn.LogLevel.ALL,
},
});
Members
| Member | Description |
|---|---|
OFF | No Logging. |
ALL | Log everything. |
ERROR | Log all errors. |
FATAL | Log fatal errors. |
Referenced by
LogOptions.levellevellevelLevelLevelLogOptions.levellevellevelLevelLevel