From a225ffa3850e2a26ad1cc614845bea5ab8ad28a5 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sat, 29 Aug 2026 06:51:09 +0000 Subject: [PATCH] ah yes how to forget the time i messed up a merge --- src/common/logging.cpp | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/common/logging.cpp b/src/common/logging.cpp index d327966d97..62cebd6aa6 100644 --- a/src/common/logging.cpp +++ b/src/common/logging.cpp @@ -38,27 +38,14 @@ #include "common/bounded_threadsafe_queue.h" namespace Common::Log { - -/// @brief A log entry. Log entries are store in a structured format to permit more varied output -/// formatting on different frontends, as well as facilitating filtering and aggregation. -struct Entry { - char const* message = nullptr; - size_t message_len = 0; - std::chrono::microseconds timestamp; - Class log_class{}; - Level log_level{}; - const char* filename = nullptr; - const char* function = nullptr; - uint32_t line_num = 0; -}; - namespace { /// @brief A log entry. Log entries are store in a structured format to permit more varied output /// formatting on different frontends, as well as facilitating filtering and aggregation. struct Entry { std::string_view thread_name; - std::string message; + char const* message = nullptr; + size_t message_len = 0; std::chrono::microseconds timestamp; Class log_class{}; Level log_level{};