CARB_LOG_ONCE#

Defined in carb/logging/Log.h

CARB_LOG_ONCE(level, fmtOrChannel, ...)#

Single-time logging macro if the level is dynamic.

Prefer using CARB_LOG_VERBOSE_ONCE, CARB_LOG_INFO_ONCE, etc. if the level is static.

Note

This logs a single time by using static initialization.

Parameters:
  • level – The Log Levels

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