Update logger-inl.h
This commit is contained in:
parent
bf49bebe7a
commit
5cd0b6272d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user