In system/core/include/cutils/log.h, it is mentioned in the comments
as follows:

/*
 * Normally we strip LOGV (VERBOSE messages) from release builds.
 * You can modify this (for example with "#define LOG_NDEBUG 0"
 * at the top of your source file) to change that behavior.
 */

So I tried to put "#define LOG_NDEBUG 0" in frameworks/base/libs/ui/
EventHub.cpp and re-compile. I do get verbose messages when I do "adb
logcat EventHub:v".

Now the question is whether there is a way to sort of turn verbose
messages on during compilation globally, both for "LOGV()" in the C
file and "Log.v()" in the Java file.

Appreciation for any of your thoughts.

/Song
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to