Removed redundant func

This commit is contained in:
gabime 2019-09-05 02:31:23 +03:00
parent 172cf26d77
commit 4c45c6fbd8
2 changed files with 3 additions and 10 deletions

View File

@ -199,11 +199,6 @@ SPDLOG_INLINE void logger::flush_()
}
}
SPDLOG_INLINE void logger::backtrace_add_(const details::log_msg &msg)
{
tracer_.push_back(msg);
}
SPDLOG_INLINE void logger::dump_backtrace_()
{
using details::log_msg;

View File

@ -93,7 +93,7 @@ public:
}
if (tracer_)
{
backtrace_add_(log_msg);
tracer_.push_back(log_msg);
}
}
SPDLOG_LOGGER_CATCH()
@ -165,7 +165,7 @@ public:
}
if (tracer_)
{
backtrace_add_(log_msg);
tracer_.push_back(log_msg);
}
}
SPDLOG_LOGGER_CATCH()
@ -250,7 +250,7 @@ public:
}
if (tracer_)
{
backtrace_add_(log_msg);
tracer_.push_back(log_msg);
}
}
SPDLOG_LOGGER_CATCH()
@ -366,8 +366,6 @@ protected:
virtual void sink_it_(const details::log_msg &msg);
virtual void flush_();
void backtrace_add_(const details::log_msg &msg);
void dump_backtrace_();
bool should_flush_(const details::log_msg &msg);