LOG_ID_IF() macroΒΆ

LOG_ID_IF(id, cond, ...)

Writes a log record prepended with calling function name to the log file specified by id if the condition given by cond is met.

Usage: see LOG_ID() and LOG_IF().