diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-05 06:19:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-05 06:19:59 +0100 |
commit | e10483a8782db9ac4b2d1727b721f20dec4330c3 (patch) | |
tree | e9757f8a9f85f7297a853f942d009b54307393cc /src/yuzu_cmd | |
parent | Merge pull request #1639 from DarkLordZach/open-yuzu-folder (diff) | |
parent | logging: Add DebuggerBackend for logging to Visual Studio (diff) | |
download | yuzu-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')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 3 |
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 |