android: how to see LOGV message
In your code add
#define LOG_NDEBUG 0
The reason is log.h at system/core/include/cutils/log.h
Ex:
In you want to see LOGV in audio_hw.c
You must add
#define LOG_TAG "audio_hw_primary"
#define LOG_NDEBUG 0
#define LOG_NDEBUG_FUNCTION
#ifndef LOG_NDEBUG_FUNCTION
#define LOGFUNC(...) ((void)0)
#else
#define LOGFUNC(...) (LOGV(__VA_ARGS__))
#endif
沒有留言:
張貼留言