mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Update logger.cpp
This commit is contained in:
parent
d1a47cd553
commit
84bee1d484
@ -27,7 +27,7 @@ logger::logger(logger &&other) noexcept
|
|||||||
|
|
||||||
void logger::set_level(level level) { level_.store(level); }
|
void logger::set_level(level level) { level_.store(level); }
|
||||||
|
|
||||||
level logger::log_level() const { return static_cast<level>(level_.load(std::memory_order_relaxed)); }
|
level logger::log_level() const { return level_.load(std::memory_order_relaxed); }
|
||||||
|
|
||||||
const std::string &logger::name() const { return name_; }
|
const std::string &logger::name() const { return name_; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user