CARB_LOG_ONCE

Defined in carb/logging/Log.h

CARB_LOG_ONCE(level, fmt, ...)

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

  • fmt – The print format specifier string

  • ... – Optional arguments