Removed unused member from log_msg

This commit is contained in:
gabime 2019-06-03 22:20:46 +03:00
parent cb6208a6fa
commit c000a6164c
2 changed files with 0 additions and 5 deletions

View File

@ -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};

View File

@ -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
, 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
, 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
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;