diff options
| author | 2018-11-05 00:19:59 -0500 | |
|---|---|---|
| committer | 2018-11-05 00:19:59 -0500 | |
| commit | e10483a8782db9ac4b2d1727b721f20dec4330c3 (patch) | |
| tree | e9757f8a9f85f7297a853f942d009b54307393cc /src/yuzu_cmd/yuzu.cpp | |
| 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.gz yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.tar.xz yuzu-e10483a8782db9ac4b2d1727b721f20dec4330c3.zip | |
Merge pull request #1441 from CarlKenner/DebuggerLog
logging: Add DebuggerBackend for logging to Visual Studio
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -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() { | |||
| 76 | const std::string& log_dir = FileUtil::GetUserPath(FileUtil::UserPath::LogDir); | 76 | const std::string& log_dir = FileUtil::GetUserPath(FileUtil::UserPath::LogDir); |
| 77 | FileUtil::CreateFullPath(log_dir); | 77 | FileUtil::CreateFullPath(log_dir); |
| 78 | Log::AddBackend(std::make_unique<Log::FileBackend>(log_dir + LOG_FILE)); | 78 | Log::AddBackend(std::make_unique<Log::FileBackend>(log_dir + LOG_FILE)); |
| 79 | #ifdef _WIN32 | ||
| 80 | Log::AddBackend(std::make_unique<Log::DebuggerBackend>()); | ||
| 81 | #endif | ||
| 79 | } | 82 | } |
| 80 | 83 | ||
| 81 | /// Application entry point | 84 | /// Application entry point |