From aecdfc60a07d1cd66e7b812bd3622e9f8de0b28a Mon Sep 17 00:00:00 2001 From: Stephane Janel Date: Tue, 27 Jul 2021 09:19:02 +0200 Subject: [PATCH] Fix comment and clang-format --- include/spdlog/logger.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index fe9db35f..2e58628f 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -102,13 +102,13 @@ public: log(loc, lvl, string_view_t{msg}); } - // T cannot be statically converted to niether string_view, neither wstring_view and niether to format string - template::value - && !is_convertible_to_basic_format_string::value, - int>::type = 0> + // T cannot be statically converted to neither string_view, nor wstring_view and nor format string + template::value && + !is_convertible_to_basic_format_string::value, + int>::type = 0> void log(source_loc loc, level::level_enum lvl, const T &msg) { - log(loc, lvl, "{}", msg); + log(loc, lvl, "{}", msg); } void log(log_clock::time_point log_time, source_loc loc, level::level_enum lvl, string_view_t msg) @@ -141,7 +141,7 @@ public: { log(source_loc{}, lvl, msg); } - + template void trace(fmt::format_string fmt, Args &&...args) {