Better defaults management, logger class implementation with logging levels, and write to file configuration implementation

This commit is contained in:
Chris Punches
2025-03-03 03:56:51 -05:00
parent e79fa3b89f
commit ee1df1fb0c
14 changed files with 389 additions and 67 deletions

View File

@@ -48,7 +48,13 @@
class ConfigManager {
public:
// Constructor
ConfigManager( const std::string& config_dir = DPMDefaultPaths::CONFIG_DIR );
ConfigManager();
// Set the configuration directory
void setConfigDir(const std::string& config_dir);
// Get the current configuration directory
std::string getConfigDir() const;
// Load all configuration files from the config directory
bool loadConfigurations();