Commit 4f1ce918 authored by gabime's avatar gabime

Fixed issue #747

parent 775e410b
......@@ -100,37 +100,37 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg)
SPDLOG_CATCH_AND_HANDLE
}
template<typename Arg1, typename... Args>
template<typename... Args>
inline void spdlog::logger::trace(const char *fmt, const Args &... args)
{
log(level::trace, fmt, args...);
}
template<typename Arg1, typename... Args>
template<typename... Args>
inline void spdlog::logger::debug(const char *fmt, const Args &... args)
{
log(level::debug, fmt, args...);
}
template<typename Arg1, typename... Args>
template<typename... Args>
inline void spdlog::logger::info(const char *fmt, const Args &... args)
{
log(level::info, fmt, args...);
}
template<typename Arg1, typename... Args>
template<typename... Args>
inline void spdlog::logger::warn(const char *fmt, const Args &... args)
{
log(level::warn, fmt, args...);
}
template<typename Arg1, typename... Args>
template<typename... Args>
inline void spdlog::logger::error(const char *fmt, const Args &... args)
{
log(level::err, fmt, args...);
}
template<typename Arg1, typename... Args>
template<typename... Args>
inline void spdlog::logger::critical(const char *fmt, const Args &... args)
{
log(level::critical, fmt, args...);
......
......@@ -45,22 +45,22 @@ public:
template<typename... Args>
void log(level::level_enum lvl, const char *msg);
template<typename Arg1, typename... Args>
template<typename... Args>
void trace(const char *fmt, const Args &... args);
template<typename Arg1, typename... Args>
template<typename... Args>
void debug(const char *fmt, const Args &... args);
template<typename Arg1, typename... Args>
template<typename... Args>
void info(const char *fmt, const Args &... args);
template<typename Arg1, typename... Args>
template<typename... Args>
void warn(const char *fmt, const Args &... args);
template<typename Arg1, typename... Args>
template<typename... Args>
void error(const char *fmt, const Args &... args);
template<typename Arg1, typename... Args>
template<typename... Args>
void critical(const char *fmt, const Args &... args);
#ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT
......
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