mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Minor cleaning of common.h
This commit is contained in:
parent
c832a39d44
commit
3aaefc48ec
@ -62,7 +62,7 @@ class sink;
|
||||
using log_clock = std::chrono::system_clock;
|
||||
using sink_ptr = std::shared_ptr<sinks::sink>;
|
||||
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)
|
||||
using level_t = details::null_atomic_int;
|
||||
@ -70,7 +70,6 @@ using level_t = details::null_atomic_int;
|
||||
using level_t = std::atomic<int>;
|
||||
#endif
|
||||
|
||||
using log_err_handler = std::function<void(const std::string &err_msg)>;
|
||||
|
||||
// Log level enum
|
||||
namespace level {
|
||||
|
Loading…
Reference in New Issue
Block a user