#include <cat/cat.h>
CAT_IFDBG(int level, const char *label);
If compiling with -DCAT_NODEBUG, this macro will always evaluate to
FALSE
.
if (CAT_IFDBG(3, "mymodule.thisfunction")) { /* * Do some calculations and formatting, and output * the result with CAT_DEBUG3() */ } /* Resume normal operation */