logging: Add DebuggerBackend for logging to Visual Studio
This commit is contained in:
parent
9c904e475b
commit
3d083859c1
4 changed files with 29 additions and 2 deletions
|
@ -116,6 +116,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
|
||||
}
|
||||
|
||||
GMainWindow::GMainWindow() : config(new Config()), emu_thread(nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue