feat(depth): adds the CLUTCHLOGD macro

Allows to increase depth manually at log call.
Implements #9
This commit is contained in:
Johann Dreo 2023-01-30 22:16:00 +01:00
commit 2621e68c20

View file

@ -166,6 +166,7 @@
#else // not WITH_CLUTCHLOG
// Disabled macros can still be called in Release builds.
#define CLUTCHLOG( LEVEL, WHAT ) do {/*nothing*/} while(0)
#define CLUTCHLOGD( LEVEL, WHAT, DEPTH_DELTA ) do {/*nothing*/} while(0)
#define CLUTCHDUMP( LEVEL, CONTAINER, FILENAME ) do {/*nothing*/} while(0)
#define CLUTCHFUNC( LEVEL, FUNC, ... ) do {/*nothing*/} while(0)
#define CLUTCHCODE( LEVEL, CODE ) do {/*nothing*/} while(0)