Loader Settings
class LoaderSettings @JvmOverloads constructor(val parser: ConfigParser, val logger: YaclaLogger? = null, val autoUpdate: Boolean = false, val languageSettings: LanguageSettings = LanguageSettings())
Configuration object used to supply default settings to one or more config loaders.
This class is typically passed to Yacla.withDefaults to define shared configuration such as the parser, logger, and whether automatic updates should be applied.
Constructors
Link copied to clipboard
constructor(parser: ConfigParser, logger: YaclaLogger? = null, autoUpdate: Boolean = false, languageSettings: LanguageSettings = LanguageSettings())
Properties
Link copied to clipboard
if true, triggers automatic config update via net.ririfa.yacla.loader.UpdateStrategy
Link copied to clipboard
shared language defaults for localized resource output
Link copied to clipboard
optional YaclaLogger to receive info/warning/error output
Link copied to clipboard
the ConfigParser used for loading and writing config files