Commit 3e2d593d authored by gabime's avatar gabime

always initialize level and thread_id in log_msg

parent 4b66e94e
......@@ -35,9 +35,9 @@ struct log_msg
log_msg &operator=(log_msg &&other) = delete;
const std::string *logger_name{nullptr};
level::level_enum level;
level::level_enum level {level::off};
log_clock::time_point time;
size_t thread_id;
size_t thread_id {0};
fmt::memory_buffer raw;
size_t msg_id;
......
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