Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
if

Check if a log level meets the minimum threshold.

Check if a log level meets the minimum thresholdlog_level uses ascending severity: trace(0) < debug(1) < info(2) < warning(3) < error(4) < critical(5) → Use >= comparison (higher number = more severe)

Parameters
levelThe log level to check
minimumThe minimum threshold level
Returns
true if the message should be logged

minimum=warning(3), log warning(3), error(4), critical(5) but skip trace(0), debug(1), info(2)