Function disable_backtrace

Synopsis

#include <include/spdlog/logger.h>

void disable_backtrace()

Description

restore orig sinks and level and delete the backtrace sink

Source

Lines 114-117 in include/spdlog/logger-inl.h. Line 301 in include/spdlog/logger.h.

SPDLOG_INLINE void logger::disable_backtrace()
{
    tracer_.disable();
}





Add Discussion

Log in to comment