How to write logs from internal code in Android (NDK)? What are the available options? For example, can logcat be used from within the NDK to write logs? Or, since its higher level in android, it cannot be accessed from NDK?
At the moment, I just know how to write times from C code: millis = System.currentTimeMillis();
And with a function that will write this time plus any messages to the user log file.
android android-ndk android-logcat logcat
22332112
source share