Class LogLevel
Defines which category of execution history events are logged.
Inheritance
System.Object
LogLevel
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class LogLevel : Enum
Syntax (vb)
Public NotInheritable Class LogLevel
Inherits
Enum
Remarks
Default: ERROR
See: https://docs.aws.amazon.com/step-functions/latest/dg/cloudwatch-log-level.html
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
Fields
ALL | Log everything. |
ERROR | Log all errors. |
FATAL | Log fatal errors. |
OFF | No Logging. |
value__ |
Fields
ALL
ERROR
FATAL
OFF
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |