diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-04-26 19:12:13 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-04-26 19:14:48 -0400 |
| commit | ef3129bf7ae7fbc8fe10686159c81202a8765460 (patch) | |
| tree | e21fe52553e8bf09c53631d7694288aaed1ff22c /src/yuzu_cmd/config.cpp | |
| parent | dbf7f53899b57b44f0f2b741945c10682b83bf7e (diff) | |
frontends: Move logging macros over to new fmt-capable ones
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 8b479bc6d5..675f9cafa8 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) { - LOG_WARNING(Config, "Failed to load %s. Creating file from defaults...", location); + NGLOG_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); } - LOG_ERROR(Config, "Failed."); + NGLOG_ERROR(Config, "Failed."); return false; } - LOG_INFO(Config, "Successfully loaded %s", location); + NGLOG_INFO(Config, "Successfully loaded {}", location); return true; } |
