// include the below line in .c or .cpp file.
#define LOG_TAG "Module"
// system/core/include/cutils/log.h
#include <utils/Log.h>
It is the same to call "android_printLog(prio, tag, fmt...)" or __android_log_print(int prio, const char *tag, const char *fmt, ...).
since you can find
#define android_printLog(prio, tag, fmt...) \
__android_log_print(prio, tag, fmt)