@@ -102,13 +102,13 @@ class SPDLOG_API logger
102
102
log (loc, lvl, string_view_t {msg});
103
103
}
104
104
105
- // T cannot be statically converted to niether string_view, neither wstring_view and niether to format string
106
- template <class T , typename std::enable_if<!std::is_convertible<const T &, spdlog::string_view_t >::value
107
- && !is_convertible_to_basic_format_string<const T&>::value,
108
- int >::type = 0 >
105
+ // T cannot be statically converted to neither string_view, nor wstring_view and nor format string
106
+ template <class T , typename std::enable_if<!std::is_convertible<const T &, spdlog::string_view_t >::value &&
107
+ !is_convertible_to_basic_format_string<const T &>::value,
108
+ int >::type = 0 >
109
109
void log (source_loc loc, level::level_enum lvl, const T &msg)
110
110
{
111
- log (loc, lvl, " {}" , msg);
111
+ log (loc, lvl, " {}" , msg);
112
112
}
113
113
114
114
void log (log_clock::time_point log_time, source_loc loc, level::level_enum lvl, string_view_t msg)
@@ -141,7 +141,7 @@ class SPDLOG_API logger
141
141
{
142
142
log (source_loc{}, lvl, msg);
143
143
}
144
-
144
+
145
145
template <typename ... Args>
146
146
void trace (fmt::format_string<Args...> fmt, Args &&...args)
147
147
{
0 commit comments