CARB_LOG_INFO_EVERY_N_MS#

Defined in carb/logging/Log.h

CARB_LOG_INFO_EVERY_N_MS(intervalMs, fmtOrChannel, ...)#

Time-based throttled logging macro for static log level.

Note

This logs only once every N milliseconds by using static variables 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 fmtOrChannel specifies a channel, the first argument must be the format string.