From d39b495e215444a3dab4c9438c994782abe5ff2c Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 26 Mar 2015 18:48:33 +0200 Subject: [PATCH] Update spdlog.h Updated comments about macros --- include/spdlog/spdlog.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index a92277a3..3c9f5a24 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -119,8 +119,10 @@ template std::shared_ptr create(const std::string& logger_name, const Args&...); // -// Trace & debug macros to be switched on/off at compile time for zero cost debug statements. -// Note: using these mactors overrides the runtime log threshold of the logger. +// +// Macros to be display source file & line +// +// Trace & debug can be switched on/off at compile time for zero cost debug statements. // // Example: // @@ -136,7 +138,6 @@ std::shared_ptr create(const std::string& logger_name, const Arg #define SPDLOG_TRACE(logger, ...) #endif - #ifdef SPDLOG_DEBUG_ON #define SPDLOG_DEBUG(logger, ...) logger->debug(__VA_ARGS__) << " (" << __FILE__ << " #" << __LINE__ <<")"; #else