CARB_LOG_EVERY_N_MS#
Defined in carb/logging/Log.h
-
CARB_LOG_EVERY_N_MS(level, intervalMs, fmt, ...)#
Time-based throttled logging macro if the level is dynamic.
Prefer using CARB_LOG_VERBOSE_EVERY_N_MS, CARB_LOG_INFO_EVERY_N_MS, etc. if the level is static.
Note
This logs only once every N milliseconds by using
staticvariables to track the last log time.- Parameters:
level – The \ref loglevel
intervalMs – The minimum interval in milliseconds between log messages
fmt – The print format specifier string
... – Optional arguments