From 613f024d42381aa18e8e0306c0632a4a8110d1f2 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 30 Nov 2017 23:42:57 +0200 Subject: [PATCH] Removed forgotten *_if declarations --- include/spdlog/logger.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index a3c4a9fd..be05e463 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -63,15 +63,7 @@ public: template void warn(const T&); template void error(const T&); template void critical(const T&); - - template void log_if(const bool flag, level::level_enum lvl, const T&); - template void trace_if(const bool flag, const T&); - template void debug_if(const bool flag, const T&); - template void info_if(const bool flag, const T&); - template void warn_if(const bool flag, const T&); - template void error_if(const bool flag, const T&); - template void critical_if(const bool flag, const T&); - + bool should_log(level::level_enum) const; void set_level(level::level_enum); level::level_enum level() const;