Commit c000a616 authored by gabime's avatar gabime

Removed unused member from log_msg

parent cb6208a6
...@@ -18,7 +18,6 @@ struct log_msg ...@@ -18,7 +18,6 @@ struct log_msg
level::level_enum level{level::off}; level::level_enum level{level::off};
log_clock::time_point time; log_clock::time_point time;
size_t thread_id{0}; size_t thread_id{0};
size_t msg_id{0};
// wrapping the formatted text with color (updated by pattern_formatter). // wrapping the formatted text with color (updated by pattern_formatter).
mutable size_t color_range_start{0}; mutable size_t color_range_start{0};
......
...@@ -36,7 +36,6 @@ struct async_msg ...@@ -36,7 +36,6 @@ struct async_msg
size_t thread_id; size_t thread_id;
fmt::basic_memory_buffer<char, 176> raw; fmt::basic_memory_buffer<char, 176> raw;
size_t msg_id;
source_loc source; source_loc source;
async_logger_ptr worker_ptr; async_logger_ptr worker_ptr;
...@@ -81,7 +80,6 @@ struct async_msg ...@@ -81,7 +80,6 @@ struct async_msg
, level(m.level) , level(m.level)
, time(m.time) , time(m.time)
, thread_id(m.thread_id) , thread_id(m.thread_id)
, msg_id(m.msg_id)
, source(m.source) , source(m.source)
, worker_ptr(std::move(worker)) , worker_ptr(std::move(worker))
{ {
...@@ -93,7 +91,6 @@ struct async_msg ...@@ -93,7 +91,6 @@ struct async_msg
, level(level::off) , level(level::off)
, time() , time()
, thread_id(0) , thread_id(0)
, msg_id(0)
, source() , source()
, worker_ptr(std::move(worker)) , worker_ptr(std::move(worker))
{} {}
...@@ -108,7 +105,6 @@ struct async_msg ...@@ -108,7 +105,6 @@ struct async_msg
log_msg msg(&worker_ptr->name(), level, string_view_t(raw.data(), raw.size())); log_msg msg(&worker_ptr->name(), level, string_view_t(raw.data(), raw.size()));
msg.time = time; msg.time = time;
msg.thread_id = thread_id; msg.thread_id = thread_id;
msg.msg_id = msg_id;
msg.source = source; msg.source = source;
msg.color_range_start = 0; msg.color_range_start = 0;
msg.color_range_end = 0; msg.color_range_end = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment