summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-05 06:19:59 +0100
committerGitHub <noreply@github.com>2018-11-05 06:19:59 +0100
commite10483a8782db9ac4b2d1727b721f20dec4330c3 (patch)
treee9757f8a9f85f7297a853f942d009b54307393cc /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #1639 from DarkLordZach/open-yuzu-folder (diff)
parentlogging: Add DebuggerBackend for logging to Visual Studio (diff)
downloadyuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar
yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar.gz
yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar.bz2
yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar.lz
yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar.xz
yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar.zst
yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.zip
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r--src/yuzu_cmd/yuzu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index c8b93b85b..806127b12 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -76,6 +76,9 @@ static void InitializeLogging() {
const std::string& log_dir = FileUtil::GetUserPath(FileUtil::UserPath::LogDir);
FileUtil::CreateFullPath(log_dir);
Log::AddBackend(std::make_unique<Log::FileBackend>(log_dir + LOG_FILE));
+#ifdef _WIN32
+ Log::AddBackend(std::make_unique<Log::DebuggerBackend>());
+#endif
}
/// Application entry point