summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-15 06:29:44 +0200
committerGitHub <noreply@github.com>2021-04-15 06:29:44 +0200
commit60511976bb721415180854a400571433f33e9abe (patch)
treedbe65815775e1e9f0179746ef04ce52d893cd667 /src/yuzu_cmd
parentMerge pull request #6196 from bunnei/asserts-setting (diff)
parentlog/backend: Correct order of const in copy constructor (diff)
downloadyuzu-60511976bb721415180854a400571433f33e9abe.tar
yuzu-60511976bb721415180854a400571433f33e9abe.tar.gz
yuzu-60511976bb721415180854a400571433f33e9abe.tar.bz2
yuzu-60511976bb721415180854a400571433f33e9abe.tar.lz
yuzu-60511976bb721415180854a400571433f33e9abe.tar.xz
yuzu-60511976bb721415180854a400571433f33e9abe.tar.zst
yuzu-60511976bb721415180854a400571433f33e9abe.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/yuzu.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index b431db659..4871ac3bb 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -74,14 +74,16 @@ static void PrintVersion() {
}
static void InitializeLogging() {
+ using namespace Common;
+
Log::Filter log_filter(Log::Level::Debug);
log_filter.ParseFilterString(Settings::values.log_filter);
Log::SetGlobalFilter(log_filter);
Log::AddBackend(std::make_unique<Log::ColorConsoleBackend>());
- const std::string& log_dir = Common::FS::GetUserPath(Common::FS::UserPath::LogDir);
- Common::FS::CreateFullPath(log_dir);
+ const std::string& log_dir = FS::GetUserPath(FS::UserPath::LogDir);
+ FS::CreateFullPath(log_dir);
Log::AddBackend(std::make_unique<Log::FileBackend>(log_dir + LOG_FILE));
#ifdef _WIN32
Log::AddBackend(std::make_unique<Log::DebuggerBackend>());