mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-03 11:09:15 +08:00
Fixed registy::disable_backtrace()
This commit is contained in:
parent
7bfb6d6b76
commit
7d6444491c
@ -154,7 +154,7 @@ SPDLOG_INLINE void registry::enable_backtrace(size_t n_messages)
|
||||
SPDLOG_INLINE void registry::disable_backtrace()
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(logger_map_mutex_);
|
||||
|
||||
backtrace_n_messages_ = 0;
|
||||
for (auto &l : loggers_)
|
||||
{
|
||||
l.second->disable_backtrace();
|
||||
|
Loading…
Reference in New Issue
Block a user