CARB_LOG_WARN_EVERY_N_MS#
Defined in carb/logging/Log.h
-
CARB_LOG_WARN_EVERY_N_MS(intervalMs, fmtOrChannel, ...)#
Time-based throttled logging macro for static log level.
Note
This logs only once every N milliseconds by using
staticvariables to track the last log time.- Parameters:
intervalMs – The minimum interval in milliseconds between log messages
fmtOrChannel – The printf format specifier string, or log channel declared with CARB_LOG_ADD_CHANNEL.
... – Optional arguments. If
fmtOrChannelspecifies a channel, the first argument must be the format string.