mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
small readablilty update in registry
This commit is contained in:
parent
231ca50700
commit
36138617fc
@ -74,8 +74,9 @@ SPDLOG_INLINE bool registry::set_level_from_cfg_(logger *logger)
|
||||
if (cfg_level_it != cfg_levels_.end())
|
||||
{
|
||||
logger->set_level(cfg_level_it->second);
|
||||
return true;
|
||||
}
|
||||
return cfg_level_it != cfg_levels_.end();
|
||||
return false;
|
||||
}
|
||||
|
||||
SPDLOG_INLINE void registry::initialize_logger(std::shared_ptr<logger> new_logger)
|
||||
|
Loading…
Reference in New Issue
Block a user