Enum Class DebugLevel
- All Implemented Interfaces:
Serializable
,Comparable<DebugLevel>
,Constable
How verbose the application should be. Defaults to
WARN
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen using theHeadlessBrowser
, the browser will not be headless and instead show a graphical user interface.Onlyerrors
will be printed to the console.All log messages will be printed to the console.Onlywarnings
anderrors
will be printed to the console. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DebugLevel
Returns the enum constant of this class with the specified name.static DebugLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEBUG
When using theHeadlessBrowser
, the browser will not be headless and instead show a graphical user interface. Also, all log messages will be printed to the console. Important: Sensitive data, such as PASSWORDS, WILL BE PRINTED TO THE CONSOLE! Use any other debug level if you want to avoid this. -
INFO
All log messages will be printed to the console. Less sensitive data, such as EMAIL ADDRESSES, USER NAMES, ACADEMIC DEGREES and GRADES, will be printed to the console. -
WARN
Onlywarnings
anderrors
will be printed to the console. No sensitive data will be printed. -
ERROR
Onlyerrors
will be printed to the console. No sensitive data will be printed.
-
-
Field Details
-
label
-
-
Constructor Details
-
DebugLevel
-
-
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
-