@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:11.014Z") @Stability(value=Experimental) public enum LogLevel extends Enum<LogLevel>
Example:
Bucket bucket;
Application flinkApp = Application.Builder.create(this, "Application")
.code(ApplicationCode.fromBucket(bucket, "my-app.jar"))
.runtime(Runtime.FLINK_1_13)
.checkpointingEnabled(true) // default is true
.checkpointInterval(Duration.seconds(30)) // default is 1 minute
.minPauseBetweenCheckpoints(Duration.seconds(10)) // default is 5 seconds
.logLevel(LogLevel.ERROR) // default is INFO
.metricsLevel(MetricsLevel.PARALLELISM) // default is APPLICATION
.autoScalingEnabled(false) // default is true
.parallelism(32) // default is 1
.parallelismPerKpu(2) // default is 1
.snapshotsEnabled(false) // default is true
.logGroup(new LogGroup(this, "LogGroup"))
.build();
| Enum Constant and Description |
|---|
DEBUG
(experimental) Debug level logging.
|
ERROR
(experimental) Error level logging.
|
INFO
(experimental) Info level logging.
|
WARN
(experimental) Warn level logging.
|
| Modifier and Type | Method and Description |
|---|---|
static LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final LogLevel DEBUG
@Stability(value=Experimental) public static final LogLevel INFO
@Stability(value=Experimental) public static final LogLevel WARN
@Stability(value=Experimental) public static final LogLevel ERROR
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static LogLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.