mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Micro-optimze log_it_
This commit is contained in:
parent
79468cf676
commit
3ee4f2810d
@ -172,7 +172,7 @@ SPDLOG_INLINE std::shared_ptr<logger> logger::clone(std::string logger_name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// protected methods
|
// protected methods
|
||||||
SPDLOG_INLINE void logger::log_it_(const spdlog::details::log_msg &log_msg, bool log_enabled, bool traceback_enabled) {}(const details::log_msg &log_msg, bool log_enabled, bool traceback_enabled)
|
SPDLOG_INLINE void logger::log_it_(const spdlog::details::log_msg &log_msg, bool log_enabled, bool traceback_enabled)
|
||||||
{
|
{
|
||||||
if (log_enabled)
|
if (log_enabled)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user