Commit 3aaefc48 authored by gabime's avatar gabime

Minor cleaning of common.h

parent c832a39d
...@@ -62,7 +62,7 @@ class sink; ...@@ -62,7 +62,7 @@ class sink;
using log_clock = std::chrono::system_clock; 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 log_err_handler = std::function<void(const std::string &err_msg)>;
#if defined(SPDLOG_NO_ATOMIC_LEVELS) #if defined(SPDLOG_NO_ATOMIC_LEVELS)
using level_t = details::null_atomic_int; using level_t = details::null_atomic_int;
...@@ -70,7 +70,6 @@ using level_t = details::null_atomic_int; ...@@ -70,7 +70,6 @@ using level_t = details::null_atomic_int;
using level_t = std::atomic<int>; using level_t = std::atomic<int>;
#endif #endif
using log_err_handler = std::function<void(const std::string &err_msg)>;
// Log level enum // Log level enum
namespace level { namespace level {
......
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