diff --git a/include/spdlog/details/logger_impl.h b/include/spdlog/details/logger_impl.h index 75ce7c6c..9b9b467f 100644 --- a/include/spdlog/details/logger_impl.h +++ b/include/spdlog/details/logger_impl.h @@ -100,37 +100,37 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg) SPDLOG_CATCH_AND_HANDLE } -template +template inline void spdlog::logger::trace(const char *fmt, const Args &... args) { log(level::trace, fmt, args...); } -template +template inline void spdlog::logger::debug(const char *fmt, const Args &... args) { log(level::debug, fmt, args...); } -template +template inline void spdlog::logger::info(const char *fmt, const Args &... args) { log(level::info, fmt, args...); } -template +template inline void spdlog::logger::warn(const char *fmt, const Args &... args) { log(level::warn, fmt, args...); } -template +template inline void spdlog::logger::error(const char *fmt, const Args &... args) { log(level::err, fmt, args...); } -template +template inline void spdlog::logger::critical(const char *fmt, const Args &... args) { log(level::critical, fmt, args...); diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 6828312e..372d8314 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -45,22 +45,22 @@ public: template void log(level::level_enum lvl, const char *msg); - template + template void trace(const char *fmt, const Args &... args); - template + template void debug(const char *fmt, const Args &... args); - template + template void info(const char *fmt, const Args &... args); - template + template void warn(const char *fmt, const Args &... args); - template + template void error(const char *fmt, const Args &... args); - template + template void critical(const char *fmt, const Args &... args); #ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT