I'm looking for official way in Contiki-NG for exclude all debug traces from code (security, code size, release version of application).
I have used extra definition in my Makefile -DLOG_CONF_OUTPUT="(void)(0);" -Wno-unused-value and code size is reduced but I should add -Wno-unused-value for avoid multiple warnings.
What can be better way to replace LOG_CONF_OUTPUT with something else ?
Regards, Eugene