I am working with NDK and Android so sometimes I need to debug the native code to see if it’s working properly or not. I wanted something similar to Android’s
So here’s how to use
log in Native code.
To use this in some function, just use it as following.
To check value of some variable
P.S. Write OpenCV C++ and use it with NDK. Things are so good.