CARB_LOG_ONCE_RESETTABLE#

Defined in carb/logging/Log.h

CARB_LOG_ONCE_RESETTABLE(level, gateName, fmtOrChannel, ...)#

Resettable single-time logging macro for dynamic log level.

Prefer using CARB_LOG_VERBOSE_ONCE_RESETTABLE, CARB_LOG_INFO_ONCE_RESETTABLE, etc. if the level is static.

Note

This logs a single time per gate until the gate is reset using CARB_LOG_RESET_GATE.

Parameters:
  • level – The Log Levels

  • gateName – A unique identifier for this logging gate (must be declared with CARB_LOG_DECLARE_GATE)

  • 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.