Commit 4c45c6fb authored by gabime's avatar gabime

Removed redundant func

parent 172cf26d
...@@ -199,11 +199,6 @@ SPDLOG_INLINE void logger::flush_() ...@@ -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_() SPDLOG_INLINE void logger::dump_backtrace_()
{ {
using details::log_msg; using details::log_msg;
......
...@@ -93,7 +93,7 @@ public: ...@@ -93,7 +93,7 @@ public:
} }
if (tracer_) if (tracer_)
{ {
backtrace_add_(log_msg); tracer_.push_back(log_msg);
} }
} }
SPDLOG_LOGGER_CATCH() SPDLOG_LOGGER_CATCH()
...@@ -165,7 +165,7 @@ public: ...@@ -165,7 +165,7 @@ public:
} }
if (tracer_) if (tracer_)
{ {
backtrace_add_(log_msg); tracer_.push_back(log_msg);
} }
} }
SPDLOG_LOGGER_CATCH() SPDLOG_LOGGER_CATCH()
...@@ -250,7 +250,7 @@ public: ...@@ -250,7 +250,7 @@ public:
} }
if (tracer_) if (tracer_)
{ {
backtrace_add_(log_msg); tracer_.push_back(log_msg);
} }
} }
SPDLOG_LOGGER_CATCH() SPDLOG_LOGGER_CATCH()
...@@ -366,8 +366,6 @@ protected: ...@@ -366,8 +366,6 @@ protected:
virtual void sink_it_(const details::log_msg &msg); virtual void sink_it_(const details::log_msg &msg);
virtual void flush_(); virtual void flush_();
void backtrace_add_(const details::log_msg &msg);
void dump_backtrace_(); void dump_backtrace_();
bool should_flush_(const details::log_msg &msg); bool should_flush_(const details::log_msg &msg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment