Removed redundant func
This commit is contained in:
parent
172cf26d77
commit
4c45c6fbd8
@ -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:
|
|||||||
}
|
}
|
||||||
if (tracer_)
|
if (tracer_)
|
||||||
{
|
{
|
||||||
backtrace_add_(log_msg);
|
tracer_.push_back(log_msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SPDLOG_LOGGER_CATCH()
|
SPDLOG_LOGGER_CATCH()
|
||||||
@ -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:
|
|||||||
}
|
}
|
||||||
if (tracer_)
|
if (tracer_)
|
||||||
{
|
{
|
||||||
backtrace_add_(log_msg);
|
tracer_.push_back(log_msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SPDLOG_LOGGER_CATCH()
|
SPDLOG_LOGGER_CATCH()
|
||||||
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user