Show / Hide Table of Contents

Interface ILogOptions

Log Options for the state machine.

Namespace: Amazon.CDK.CustomResources
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILogOptions
Syntax (vb)
Public Interface ILogOptions
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.Logs;
            using Amazon.CDK.AWS.StepFunctions;
            using Amazon.CDK.CustomResources;

            LogGroup logGroup;

            var logOptions = new LogOptions {
                Destination = logGroup,
                IncludeExecutionData = false,
                Level = LogLevel.OFF
            };

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

ILogGroup

Remarks

Default: - a new log group will be created

IncludeExecutionData

Determines whether execution data is included in your log.

bool? IncludeExecutionData { get; }
Property Value

bool?

Remarks

Default: - false

Level

Defines which category of execution history events are logged.

LogLevel? Level { get; }
Property Value

LogLevel?

Remarks

Default: - ERROR

Back to top Generated by DocFX