Enum LogLevel
- All Implemented Interfaces:
Serializable
,Comparable<LogLevel>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:08.011Z")
@Stability(Experimental)
public enum LogLevel
extends Enum<LogLevel>
(experimental) Available log levels for Flink applications.
Example:
Bucket bucket; Application flinkApp = Application.Builder.create(this, "Application") .code(ApplicationCode.fromBucket(bucket, "my-app.jar")) .runtime(Runtime.FLINK_1_20) .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();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
DEBUG
(experimental) Debug level logging. -
INFO
(experimental) Info level logging. -
WARN
(experimental) Warn level logging. -
ERROR
(experimental) Error level logging.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-