Commit 8da33db6 authored by gabime's avatar gabime

Removed redundant "using log_thread_id=size_t"

parent 7cf34ce8
...@@ -63,7 +63,7 @@ using log_clock = std::chrono::system_clock; ...@@ -63,7 +63,7 @@ using log_clock = std::chrono::system_clock;
using sink_ptr = std::shared_ptr < sinks::sink > ; using sink_ptr = std::shared_ptr < sinks::sink > ;
using sinks_init_list = std::initializer_list < sink_ptr > ; using sinks_init_list = std::initializer_list < sink_ptr > ;
using formatter_ptr = std::shared_ptr<spdlog::formatter>; using formatter_ptr = std::shared_ptr<spdlog::formatter>;
using log_thread_id = std::size_t;
//Log level enum //Log level enum
namespace level namespace level
......
...@@ -59,7 +59,7 @@ class async_log_helper ...@@ -59,7 +59,7 @@ class async_log_helper
std::string logger_name; std::string logger_name;
level::level_enum level; level::level_enum level;
log_clock::time_point time; log_clock::time_point time;
log_thread_id thread_id; size_t thread_id;
std::string txt; std::string txt;
async_msg() = default; async_msg() = default;
......
...@@ -90,7 +90,7 @@ struct log_msg ...@@ -90,7 +90,7 @@ struct log_msg
std::string logger_name; std::string logger_name;
level::level_enum level; level::level_enum level;
log_clock::time_point time; log_clock::time_point time;
log_thread_id thread_id; size_t thread_id;
fmt::MemoryWriter raw; fmt::MemoryWriter raw;
fmt::MemoryWriter formatted; fmt::MemoryWriter formatted;
}; };
......
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