CARB_LOG_WARN_EVERY_N_CALLS#

Defined in carb/logging/Log.h

CARB_LOG_WARN_EVERY_N_CALLS(callCount, fmtOrChannel, ...)#

Call-based throttled logging macro for static log level.

Note

This logs only once every N calls by using static variables to track the call count.

Parameters:
  • callCount – The number of calls between log messages

  • fmtOrChannel – The printf format specifier string, or log channel declared with CARB_LOG_ADD_CHANNEL.

  • ... – Optional arguments