#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_DEBUG TEST_CASE("macros leave args unevaluated", "[macros]") { // Shouldn't evaluate any macro arguments when logging is off. auto logger = spdlog::create<spdlog::sinks::basic_file_sink_mt>("logger", "some_file"); logger->set_level(spdlog::le...
After tracing with GDB, it was found that whenSDPLOG_LEVEL_TRACEis enabled, both "log_enabled" and "traceback_enabled" arefalsewhen reaching line 320 in logger.h. Therefore, the statementSPDLOG_TRACE("Some trace message with param {}", 42);does not output trace-level logs in the console...