Commit 40acfdfb authored by gabime's avatar gabime

small name changes

parent 88ff3144
......@@ -29,9 +29,9 @@ inline const char* to_str(c11log::level::level_enum l)
struct log_msg
{
log_clock::time_point when;
bufpair_t msg_buf;
std::size_t header_size;
bufpair_t msg_buf;
log_clock::time_point msg_time;
std::size_t msg_header_size;
level::level_enum msg_level;
};
......
......@@ -26,13 +26,13 @@ public:
{
if(enabled)
{
_log_msg.when = log_clock::now();
_log_msg.msg_time = log_clock::now();
_log_msg.msg_level = msg_level;
callback_logger->_formatter->format_header(callback_logger->_logger_name,
_log_msg.msg_level,
_log_msg.when,
_log_msg.msg_time,
_oss);
_log_msg.header_size = _oss.size();
_log_msg.msg_header_size = _oss.size();
}
}
......
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