mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Removed redundant func
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user