@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.398Z") @Stability(value=Stable) public interface LogOptions extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.services.logs.*;
LogGroup logGroup = new LogGroup(this, "MyLogGroup");
StateMachine.Builder.create(this, "MyStateMachine")
.definition(Chain.start(new Pass(this, "Pass")))
.logs(LogOptions.builder()
.destination(logGroup)
.level(LogLevel.ALL)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LogOptions.Builder
A builder for
LogOptions |
static class |
LogOptions.Jsii$Proxy
An implementation for
LogOptions |
| Modifier and Type | Method and Description |
|---|---|
static LogOptions.Builder |
builder() |
ILogGroup |
getDestination()
The log group where the execution history events will be logged.
|
default Boolean |
getIncludeExecutionData()
Determines whether execution data is included in your log.
|
default LogLevel |
getLevel()
Defines which category of execution history events are logged.
|
@Stability(value=Stable) @NotNull ILogGroup getDestination()
@Stability(value=Stable) @Nullable default Boolean getIncludeExecutionData()
Default: false
@Stability(value=Stable) @Nullable default LogLevel getLevel()
Default: ERROR
@Stability(value=Stable) static LogOptions.Builder builder()
LogOptions.Builder of LogOptionsCopyright © 2022. All rights reserved.