summaryrefslogtreecommitdiff
path: root/src/common/logging/log_entry.h
diff options
context:
space:
mode:
authorGravatar Levi Behunin2021-11-01 18:36:27 -0600
committerGravatar Levi Behunin2021-11-01 18:36:27 -0600
commitd6b5f64484053772c486a0cd4d3be98f02a01391 (patch)
tree3162d5485a1f81ec8cc313e577def14a89e7c040 /src/common/logging/log_entry.h
parentMerge pull request #7264 from zhaobot/tx-update-20211101021628 (diff)
downloadyuzu-d6b5f64484053772c486a0cd4d3be98f02a01391.tar.gz
yuzu-d6b5f64484053772c486a0cd4d3be98f02a01391.tar.xz
yuzu-d6b5f64484053772c486a0cd4d3be98f02a01391.zip
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/common/logging/log_entry.h')
-rw-r--r--src/common/logging/log_entry.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/logging/log_entry.h b/src/common/logging/log_entry.h
index dd6f44841..b28570071 100644
--- a/src/common/logging/log_entry.h
+++ b/src/common/logging/log_entry.h
@@ -22,7 +22,6 @@ struct Entry {
22 unsigned int line_num = 0; 22 unsigned int line_num = 0;
23 std::string function; 23 std::string function;
24 std::string message; 24 std::string message;
25 bool final_entry = false;
26}; 25};
27 26
28} // namespace Common::Log 27} // namespace Common::Log