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