mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-01 02:42:41 +08:00
Update logger.cpp
This commit is contained in:
parent
84bee1d484
commit
2ed4e161e0
@ -55,7 +55,7 @@ void logger::flush() { flush_(); }
|
|||||||
|
|
||||||
void logger::flush_on(level level) { flush_level_.store(level); }
|
void logger::flush_on(level level) { flush_level_.store(level); }
|
||||||
|
|
||||||
level logger::flush_level() const { return static_cast<level>(flush_level_.load(std::memory_order_relaxed)); }
|
level logger::flush_level() const { return flush_level_.load(std::memory_order_relaxed); }
|
||||||
|
|
||||||
// sinks
|
// sinks
|
||||||
const std::vector<sink_ptr> &logger::sinks() const { return sinks_; }
|
const std::vector<sink_ptr> &logger::sinks() const { return sinks_; }
|
||||||
|
Loading…
Reference in New Issue
Block a user