Class LogLevel
(experimental) Log configuration for a pipe.
Inheritance
System.Object
LogLevel
Namespace: Amazon.CDK.AWS.Pipes.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Alpha.dll
Syntax (csharp)
public sealed class LogLevel : Enum
Syntax (vb)
Public NotInheritable Class LogLevel
Inherits
Enum
Remarks
Stability: Experimental
See: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-level
ExampleMetadata: infused
Examples
Queue sourceQueue;
Queue targetQueue;
LogGroup loggroup;
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = new SqsSource(sourceQueue),
Target = new SqsTarget(targetQueue),
LogLevel = LogLevel.TRACE,
LogIncludeExecutionData = new [] { IncludeExecutionData.ALL },
LogDestinations = new [] {
new CloudwatchDestination(loggroup) }
});
Synopsis
Fields
ERROR | (experimental) Log only errors. |
INFO | (experimental) Log errors, warnings, and info. |
OFF | (experimental) No logging. |
TRACE | (experimental) Log everything. |
value__ |
Fields
ERROR
(experimental) Log only errors.
public const LogLevel ERROR
Field Value
Type | Description |
---|---|
LogLevel |
Remarks
Stability: Experimental
INFO
(experimental) Log errors, warnings, and info.
public const LogLevel INFO
Field Value
Type | Description |
---|---|
LogLevel |
Remarks
Stability: Experimental
OFF
(experimental) No logging.
public const LogLevel OFF
Field Value
Type | Description |
---|---|
LogLevel |
Remarks
Stability: Experimental
TRACE
(experimental) Log everything.
public const LogLevel TRACE
Field Value
Type | Description |
---|---|
LogLevel |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |