Interface ILogOptions
Defines what execution history events are logged and where they are logged.
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILogOptions
Syntax (vb)
Public Interface ILogOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Logs;
var logGroup = new LogGroup(this, "MyLogGroup");
var definition = Chain.Start(new Pass(this, "Pass"));
new StateMachine(this, "MyStateMachine", new StateMachineProps {
DefinitionBody = DefinitionBody.FromChainable(definition),
Logs = new LogOptions {
Destination = logGroup,
Level = LogLevel.ALL
}
});
Synopsis
Properties
Destination | The log group where the execution history events will be logged. |
IncludeExecutionData | Determines whether execution data is included in your log. |
Level | Defines which category of execution history events are logged. |
Properties
Destination
The log group where the execution history events will be logged.
ILogGroup Destination { get; }
Property Value
IncludeExecutionData
Determines whether execution data is included in your log.
virtual Nullable<bool> IncludeExecutionData { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Level
Defines which category of execution history events are logged.
virtual Nullable<LogLevel> Level { get; }
Property Value
System.Nullable<LogLevel>
Remarks
Default: ERROR