our C++ project targets CW10.2 on Kinetis and uses EWL. We've written our own custom logger. Now, a third-party library thinks it may just call printf() to output error messages. Currently, the EWL printf writes these messages to the debugger via some kind of Cortex debug magic.
Instead, I'd like to redirect the output to our logger. I've tried defining my own __ConsoleWrite function in my application, but that changed nothing; the printf call still went to the debugger. What else can I try? I'd like to keep the other C standard library functions, so I'd like to continue including EWL.