Is there any construction available in the SDK, to achieve printing functions, with an undefined number of parameters ? The classic example :
#ifdef CONFIG_DEBUG
#define DBG_PRINT(...) printf(__VA_ARGS__)
#else
#define DBG_PRINT(...) {}
#endif
builds sucessfully, but I am unsure how to redirect the standard output after that.