Record Class LoggingSectionSpigot.Result
java.lang.Object
java.lang.Record
nl.pim16aap2.animatedarchitecture.spigot.core.config.LoggingSectionSpigot.Result
- Record Components:
logLevel- the logging level to be used.debug- Some debug information that should not be used in production.
- All Implemented Interfaces:
IConfigSectionResult
- Enclosing class:
LoggingSectionSpigot
public static record LoggingSectionSpigot.Result(Level logLevel, boolean debug)
extends Record
implements IConfigSectionResult
Represents the result of the logging configuration section.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoggingSectionSpigot.ResultThe default result used when no data is available. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandebug()Returns the value of thedebugrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logLevel()Returns the value of thelogLevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
The default result used when no data is available.
-
-
Constructor Details
-
Result
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
logLevel
-
debug
-