Fix should_log comment (#3534)

This commit is contained in:
Eli Boyarski
2026-02-09 21:54:24 +02:00
committed by GitHub
parent 472945ba48
commit 6c5d63291a

View File

@@ -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);
}