summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-15 02:19:52 +0200
committerLioncash <mathew1800@gmail.com>2021-04-15 05:10:58 +0200
commit64606aefcf2407513d3687a1f8d325653bde1f72 (patch)
treee6d171bdaf94d121809cf8f27a00f417bda39f06 /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #6192 from lioncash/discard (diff)
downloadyuzu-64606aefcf2407513d3687a1f8d325653bde1f72.tar
yuzu-64606aefcf2407513d3687a1f8d325653bde1f72.tar.gz
yuzu-64606aefcf2407513d3687a1f8d325653bde1f72.tar.bz2
yuzu-64606aefcf2407513d3687a1f8d325653bde1f72.tar.lz
yuzu-64606aefcf2407513d3687a1f8d325653bde1f72.tar.xz
yuzu-64606aefcf2407513d3687a1f8d325653bde1f72.tar.zst
yuzu-64606aefcf2407513d3687a1f8d325653bde1f72.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 982c41785..73a025364 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>());