From d6b5f64484053772c486a0cd4d3be98f02a01391 Mon Sep 17 00:00:00 2001 From: Levi Behunin Date: Mon, 1 Nov 2021 18:36:27 -0600 Subject: 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. --- src/common/logging/log_entry.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/common/logging/log_entry.h') 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 { unsigned int line_num = 0; std::string function; std::string message; - bool final_entry = false; }; } // namespace Common::Log -- cgit v1.2.3