Early logging initialization

This commit is contained in:
2026-02-02 19:40:34 +01:00
parent 26dced7cee
commit 3b6b97011b
3 changed files with 35 additions and 4 deletions

View File

@@ -79,10 +79,12 @@ private:
std::map<String, ConfigValue> values;
std::map<String, const ConfigDef*> defs;
void updateValue(const char* key, ConfigType type, ConfigValue newvalue);
ConfigValue getValue(const ConfigDef* def);
[[noreturn]] void error_abort() const;
public:
explicit Config(Preferences& prefs);
void load();
void loadValue(const char* key);
void save();
void dump();