refectored file names

This commit is contained in:
gabime
2019-12-21 17:47:02 +02:00
parent fc3d18ed64
commit 773b8c5a54
10 changed files with 57 additions and 66 deletions

View File

@@ -260,7 +260,7 @@ SPDLOG_INLINE void registry::set_automatic_registration(bool automatic_registrat
automatic_registration_ = automatic_registration;
}
SPDLOG_INLINE void registry::set_levels(cfg::log_levels levels)
SPDLOG_INLINE void registry::update_levels(cfg::log_levels levels)
{
std::lock_guard<std::mutex> lock(logger_map_mutex_);
levels_ = std::move(levels);

View File

@@ -9,7 +9,7 @@
// This class is thread safe
#include <spdlog/common.h>
#include <spdlog/cfg/cfg.h>
#include <spdlog/cfg/log_levels.h>
#include <chrono>
#include <functional>
@@ -80,7 +80,7 @@ public:
void set_automatic_registration(bool automatic_registration);
void set_levels(cfg::log_levels levels);
void update_levels(cfg::log_levels levels);
static registry &instance();