Function should_backtrace

Synopsis

#include <include/spdlog/logger.h>

bool should_backtrace() const

Description

return true if backtrace logging is enabled.

Source

Lines 281-284 in include/spdlog/logger.h.

bool should_backtrace() const
{
    return tracer_.enabled();
}





Add Discussion

Log in to comment