Package org.apache.beam.sdk.options
Enum Class SdkHarnessOptions.LogLevel
- All Implemented Interfaces:
Serializable
,Comparable<SdkHarnessOptions.LogLevel>
,Constable
- Enclosing interface:
SdkHarnessOptions
The set of log levels that can be used in the SDK harness.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.ImmutableMap
<SdkHarnessOptions.LogLevel, Level> Map from LogLevel enums to java logging level. -
Method Summary
Modifier and TypeMethodDescriptionstatic SdkHarnessOptions.LogLevel
Returns the enum constant of this class with the specified name.static SdkHarnessOptions.LogLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OFF
Special level used to turn off logging. -
ERROR
LogLevel for logging error messages. -
WARN
LogLevel for logging warning messages. -
INFO
LogLevel for logging informational messages. -
DEBUG
LogLevel for logging diagnostic messages. -
TRACE
LogLevel for logging tracing messages.
-
-
Field Details
-
LEVEL_CONFIGURATION
public static final org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.ImmutableMap<SdkHarnessOptions.LogLevel,Level> LEVEL_CONFIGURATIONMap from LogLevel enums to java logging level.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-