From 6c5d63291a05e55a7275d5c91fc2c60f8f7ea326 Mon Sep 17 00:00:00 2001 From: Eli Boyarski Date: Mon, 9 Feb 2026 21:54:24 +0200 Subject: [PATCH] Fix should_log comment (#3534) --- include/spdlog/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 9db3c6b3..566db0dc 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -258,7 +258,7 @@ public: log(level::critical, msg); } - // return true logging is enabled for the given level. + // return true if logging is enabled for the given level. bool should_log(level::level_enum msg_level) const { return msg_level >= level_.load(std::memory_order_relaxed); }