|
|
|
@ -205,7 +205,7 @@ SPDLOG_INLINE void logger::dump_backtrace_()
|
|
|
|
|
if (tracer_)
|
|
|
|
|
{
|
|
|
|
|
sink_it_(log_msg{name(), level::info, "****************** Backtrace Start ******************"});
|
|
|
|
|
tracer_.foreach_pop([this](const details::log_msg &msg) { this->sink_it_(msg); });
|
|
|
|
|
tracer_.foreach_pop([this](const log_msg &msg) { this->sink_it_(msg); });
|
|
|
|
|
sink_it_(log_msg{name(), level::info, "****************** Backtrace End ********************"});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -218,7 +218,6 @@ SPDLOG_INLINE bool logger::should_flush_(const details::log_msg &msg)
|
|
|
|
|
|
|
|
|
|
SPDLOG_INLINE void logger::err_handler_(const std::string &msg)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
if (custom_err_handler_)
|
|
|
|
|
{
|
|
|
|
|
custom_err_handler_(msg);
|
|
|
|
|