diff options
author | Levi Behunin <l3ehunin@gmail.com> | 2021-11-01 18:36:27 -0600 |
---|---|---|
committer | Levi Behunin <l3ehunin@gmail.com> | 2021-11-01 18:36:27 -0600 |
commit | d6b5f64484053772c486a0cd4d3be98f02a01391 (patch) | |
tree | 3162d5485a1f81ec8cc313e577def14a89e7c040 /src/yuzu/main.cpp | |
parent | f808a30f94276053eb2e9aa1b50f3016088961c3 (diff) |
Refactor Logging Impl
Loop on stop_token and remove final_entry in Entry.
Move Backend thread out of Impl Constructor to its own function.
Add Start function for backend thread.
Use stop token in PopWait and check if entry filename is nullptr before logging.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index e871fee367..182b486e93 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -299,6 +299,8 @@ GMainWindow::GMainWindow() SDL_EnableScreenSaver(); #endif + Common::Log::Start(); + QStringList args = QApplication::arguments(); if (args.size() < 2) { |