enum LogLevel
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pipes.Alpha.LogLevel |
![]() | github.com/aws/aws-cdk-go/awscdkpipesalpha/v2#LogLevel |
![]() | software.amazon.awscdk.services.pipes.alpha.LogLevel |
![]() | aws_cdk.aws_pipes_alpha.LogLevel |
![]() | @aws-cdk/aws-pipes-alpha ยป LogLevel |
Log configuration for a pipe.
Example
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;
declare const logGroup: logs.LogGroup;
const cwlLogDestination = new pipes.CloudwatchLogsLogDestination(logGroup);
const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SqsSource(sourceQueue),
target: new SqsTarget(targetQueue),
logLevel: pipes.LogLevel.TRACE,
logIncludeExecutionData: [pipes.IncludeExecutionData.ALL],
logDestinations: [cwlLogDestination],
});
Members
Name | Description |
---|---|
OFF | No logging. |
ERROR | Log only errors. |
INFO | Log errors, warnings, and info. |
TRACE | Log everything. |
OFF
No logging.
ERROR
Log only errors.
INFO
Log errors, warnings, and info.
TRACE
Log everything.