diff --git a/include/spdlog/details/logger_impl.h b/include/spdlog/details/logger_impl.h index 8af8177f..86eb45cb 100644 --- a/include/spdlog/details/logger_impl.h +++ b/include/spdlog/details/logger_impl.h @@ -71,7 +71,7 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *fmt, const Ar } SPDLOG_CATCH_AND_HANDLE } -template<> + inline void spdlog::logger::log(level::level_enum lvl, const char *msg) { if (!should_log(lvl)) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index fd428724..0cac21d4 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -45,8 +45,7 @@ public: template void log(level::level_enum lvl, const char *fmt, const Args &... args); - - template<> + void log(level::level_enum lvl, const char *msg); template