Package io.github.jspinak.brobot.logging
Enum Class LoggingConfiguration.LoggingPreset
java.lang.Object
java.lang.Enum<LoggingConfiguration.LoggingPreset>
io.github.jspinak.brobot.logging.LoggingConfiguration.LoggingPreset
- All Implemented Interfaces:
Serializable
,Comparable<LoggingConfiguration.LoggingPreset>
,Constable
- Enclosing class:
LoggingConfiguration
public static enum LoggingConfiguration.LoggingPreset
extends Enum<LoggingConfiguration.LoggingPreset>
Preset configurations for common scenarios
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDevelopment settings: detailed logging, simple format, syncProduction settings: minimal logging, JSON format, asyncSilent mode: no loggingTesting settings: balanced logging with action details -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LoggingConfiguration.LoggingPreset[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRODUCTION
Production settings: minimal logging, JSON format, async -
DEVELOPMENT
Development settings: detailed logging, simple format, sync -
TESTING
Testing settings: balanced logging with action details -
SILENT
Silent mode: no logging
-
-
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
-