From 1bdd556d3b1d7e83f972415aae5995325f3ea7b8 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 21 Oct 2018 23:23:40 +0300 Subject: [PATCH] code formatting --- include/spdlog/details/logger_impl.h | 6 +----- include/spdlog/logger.h | 10 +++++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/include/spdlog/details/logger_impl.h b/include/spdlog/details/logger_impl.h index 86eb45cb..de529dce 100644 --- a/include/spdlog/details/logger_impl.h +++ b/include/spdlog/details/logger_impl.h @@ -87,7 +87,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const char *msg) SPDLOG_CATCH_AND_HANDLE } - template::value, T>::type *> inline void spdlog::logger::log(level::level_enum lvl, const T &msg) { @@ -103,7 +102,7 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg) SPDLOG_CATCH_AND_HANDLE } -template::value, T>::type*> +template::value, T>::type *> inline void spdlog::logger::log(level::level_enum lvl, const T &msg) { if (!should_log(lvl)) @@ -121,9 +120,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const T &msg) SPDLOG_CATCH_AND_HANDLE } - - - template inline void spdlog::logger::trace(const char *fmt, const Args &... args) { diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 0cac21d4..56dcb8f5 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -45,9 +45,9 @@ public: template void log(level::level_enum lvl, const char *fmt, const Args &... args); - + void log(level::level_enum lvl, const char *msg); - + template void trace(const char *fmt, const Args &... args); @@ -93,12 +93,12 @@ public: #endif // _WIN32 #endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT - // T can be statically converted to string_view + // T can be statically converted to string_view template::value, T>::type * = nullptr> void log(level::level_enum lvl, const T &); - // T cannot be statically converted to string_view - template::value, T>::type * = nullptr> + // T cannot be statically converted to string_view + template::value, T>::type * = nullptr> void log(level::level_enum lvl, const T &); template