Overhaul logging.

This commit is contained in:
gibbed
2020-02-28 14:30:48 -06:00
committed by Rick Gibbed
parent de3c91ab2c
commit a48bb71c2f
107 changed files with 954 additions and 854 deletions

View File

@@ -61,7 +61,7 @@ void ReadConfig(const std::filesystem::path& file_path) {
config_var->LoadConfigValue(config->get_qualified(config_key));
}
}
XELOGI("Loaded config: %s", xe::path_to_utf8(file_path).c_str());
XELOGI("Loaded config: {}", xe::path_to_utf8(file_path));
}
void ReadGameConfig(const std::filesystem::path& file_path) {
@@ -73,7 +73,7 @@ void ReadGameConfig(const std::filesystem::path& file_path) {
config_var->LoadGameConfigValue(config->get_qualified(config_key));
}
}
XELOGI("Loaded game config: %s", xe::path_to_utf8(file_path).c_str());
XELOGI("Loaded game config: {}", xe::path_to_utf8(file_path));
}
void SaveConfig() {