summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-03 00:26:45 -0400
committerGitHub <noreply@github.com>2018-07-03 00:26:45 -0400
commit15e68cdbaac38bbf13cd4eb0d70d1e34b2fd4256 (patch)
tree9d072a572c0037a44e1e35aeffc242d3772a383c /src/yuzu_cmd/config.cpp
parente3ca561ea0aa2e38dd1bba6757c7170448579554 (diff)
parent76b475faf774a7a357bdc707e556c75f7975bc45 (diff)
Merge pull request #607 from jroweboy/logging
Logging - Customizable backends
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 150915c17..3a311b69f 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -27,17 +27,17 @@ bool Config::LoadINI(const std::string& default_contents, bool retry) {
const char* location = this->sdl2_config_loc.c_str();
if (sdl2_config->ParseError() < 0) {
if (retry) {
- NGLOG_WARNING(Config, "Failed to load {}. Creating file from defaults...", location);
+ LOG_WARNING(Config, "Failed to load {}. Creating file from defaults...", location);
FileUtil::CreateFullPath(location);
FileUtil::WriteStringToFile(true, default_contents, location);
sdl2_config = std::make_unique<INIReader>(location); // Reopen file
return LoadINI(default_contents, false);
}
- NGLOG_ERROR(Config, "Failed.");
+ LOG_ERROR(Config, "Failed.");
return false;
}
- NGLOG_INFO(Config, "Successfully loaded {}", location);
+ LOG_INFO(Config, "Successfully loaded {}", location);
return true;
}