Class LoggingSection<T extends IConfigSectionResult>
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.config.ConfigSection<T>
nl.pim16aap2.animatedarchitecture.core.config.LoggingSection<T>
- Type Parameters:
T- the type of result this section produces.
- Direct Known Subclasses:
LoggingSectionSpigot
Represents a configuration section for logging settings in Animated Architecture.
This section allows the user to configure console logging, log level, and debug mode.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.spongepowered.configurate.CommentedConfigurationNodeBuilds the initial limits node for this configuration section.Returns the title of the configuration section.Methods inherited from class ConfigSection
applyResults, formatDefaultCollection, getResult, getResultConsumer, getSection, populateDynamicData
-
Field Details
-
SECTION_TITLE
- See Also:
-
PATH_LOG_LEVEL
- See Also:
-
PATH_DEBUG
- See Also:
-
DEFAULT_LOG_LEVEL
-
DEFAULT_DEBUG
public static final boolean DEFAULT_DEBUG- See Also:
-
-
Constructor Details
-
LoggingSection
public LoggingSection()
-
-
Method Details
-
buildInitialLimitsNode
public org.spongepowered.configurate.CommentedConfigurationNode buildInitialLimitsNode() throws org.spongepowered.configurate.serialize.SerializationExceptionDescription copied from class:ConfigSectionBuilds the initial limits node for this configuration section.This method is responsible for creating the initial configuration node for this section, including any default values and comments.
- Specified by:
buildInitialLimitsNodein classConfigSection<T extends IConfigSectionResult>- Returns:
- the initial limits node for this section
- Throws:
org.spongepowered.configurate.serialize.SerializationException- if an error occurs during serialization
-
getSectionTitle
Description copied from class:ConfigSectionReturns the title of the configuration section.- Specified by:
getSectionTitlein classConfigSection<T extends IConfigSectionResult>- Returns:
- the title of the section
-