|
|
@ -74,7 +74,8 @@ public:
|
|
|
|
void swap(spdlog::logger &other) SPDLOG_NOEXCEPT;
|
|
|
|
void swap(spdlog::logger &other) SPDLOG_NOEXCEPT;
|
|
|
|
|
|
|
|
|
|
|
|
// FormatString is a type derived from fmt::compile_string
|
|
|
|
// FormatString is a type derived from fmt::compile_string
|
|
|
|
template<typename FormatString, typename std::enable_if<fmt::is_compile_string<FormatString>::value, int>::type = 0, typename... Args>
|
|
|
|
template<typename FormatString, typename std::enable_if<fmt::is_compile_string<FormatString>::value, int>::type * = nullptr,
|
|
|
|
|
|
|
|
typename... Args>
|
|
|
|
void log(source_loc loc, level::level_enum lvl, const FormatString &fmt, const Args &... args)
|
|
|
|
void log(source_loc loc, level::level_enum lvl, const FormatString &fmt, const Args &... args)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
log_(loc, lvl, fmt, args...);
|
|
|
|
log_(loc, lvl, fmt, args...);
|
|
|
|