Make currently used settings be printed out at application start

Due to the SettingsController being a static object it will be
initialized before the main method has been run. This will cause
easylogging to log using the default logging style instead of the
defined application style. Because of this the settings are propogated
up through a function into the main method.
This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent 2f612f52ae
commit 752295fa63
4 changed files with 58 additions and 4 deletions
+5
View File
@@ -68,4 +68,9 @@ std::string initializeAndGetSettingsPath()
return settingController.getSettingsFileName();
}
std::string getSettingsAndValues()
{
return settingController.getSettingsAndValues();
}
} // namespace settings