겨울팥죽 여름빙수
article thumbnail
Android, NDK Log using __android_log

1. android/log.h In ndk library provide log functions that can be seen in LogCat. First you have to include . #include You can use two functions [__android_log_write] and [__android_log_vprint]. If you want to write log like printf, Use [__android_log_vprint]. It support parameters like %d, %f, %s.etc else [__android_log_write] only send a message. Below show example using [__android_log_write] ..