Most of SDK source code uses PRINTF() macro to emit messages. It seems PRINTF() can be disabled, redirected to standard printf() and redirected to a custom printf-like function defined in fsl_debug_console.c (that is DbgConsole_Printf).
I already have a custom printf-like function that is named myprintf(). Is it possible to redirect PRINTF() to myprintf()? If no, could you suggest changes to achieve this goal?
The easiest and simplest way is: change it to your custom printf variant here: