diff --git a/include/spdlog/details/log_msg.h b/include/spdlog/details/log_msg.h index 152d27ad..b6963af4 100644 --- a/include/spdlog/details/log_msg.h +++ b/include/spdlog/details/log_msg.h @@ -18,7 +18,6 @@ struct log_msg level::level_enum level{level::off}; log_clock::time_point time; size_t thread_id{0}; - size_t msg_id{0}; // wrapping the formatted text with color (updated by pattern_formatter). mutable size_t color_range_start{0}; diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index bf1b61e8..9cbab356 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -36,7 +36,6 @@ struct async_msg size_t thread_id; fmt::basic_memory_buffer raw; - size_t msg_id; source_loc source; async_logger_ptr worker_ptr; @@ -81,7 +80,6 @@ struct async_msg , level(m.level) , time(m.time) , thread_id(m.thread_id) - , msg_id(m.msg_id) , source(m.source) , worker_ptr(std::move(worker)) { @@ -93,7 +91,6 @@ struct async_msg , level(level::off) , time() , thread_id(0) - , msg_id(0) , source() , worker_ptr(std::move(worker)) {} @@ -108,7 +105,6 @@ struct async_msg log_msg msg(&worker_ptr->name(), level, string_view_t(raw.data(), raw.size())); msg.time = time; msg.thread_id = thread_id; - msg.msg_id = msg_id; msg.source = source; msg.color_range_start = 0; msg.color_range_end = 0;