How can I see LOGV content in 'adb logcat'

by Meryl Silverburgh » Tue, 07 Apr 2009 03:57:39 GMT


Sponsored Links
 Hi,

I put calls to LOGV() in my cpp file in WebKit code in andorid, but I
don't see any log statements when I run 'adb logcat' in another shell.
But as soon as I change it to LOGE(), i see them.
Can you please tell me how can I see the log content of LOGV?

Thank you.

--~--~---------~--~----~------------~-------~--~----~



How can I see LOGV content in 'adb logcat'

by fadden » Tue, 07 Apr 2009 04:47:09 GMT


 On Apr 6, 12:57pm, Meryl Silverburgh <silverburgh.me...@gmail.com>



LOGV is compiled out of native code in "release" builds; see
LOG_NDEBUG in system/core/include/cutils/log.h.

You probably don't want to do a "debug" build on a device, so you can
either mess with log.h, or just use LOGD instead of LOGV in your code.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Alarm Clock Turns Off After 5 Minutes??

It appears as though the alarm clock will shut off after 5 minutes and
there is no setting to change this, is that correct?

First, why shut off after 5 mins?  Maybe for battery life?  But if it
is plugged into a charger that doesn't matter.

Second, why not provide a setting allowing the user to change the
default behavior?

-- 

2. Transparent mip-map not supported?

I'm new to OpenGL.

In one of my apps, I'm trying to load a transparent png as texture of
a large surface.
It was fine when I use GL_LINEAR or GL_NEAREST for both
GL_TEXTURE_MAG_FILTER and GL_TEXTURE_MIN_FILTER, but after I change
the GL_TEXTURE_MIN_FILTER to GL_LINEAR_MIPMAP_NEAREST and then
manually generate the multiple levels of the texture, the entire
surface became all white.
Then I tried the same procedure with another png that is opaque, it
worked fine.

So my question is, is transparent mip-map supported by current OpenGL
implementation in Android platform? Or did I do something wrong in my
code?

BTW I'm using a moto milestone that runs 2.1 update1 as test device.

-- 

3. multi-touch not working !!

4. Kondisi Signal di Bengkul

5. Multiple Listviews in single Activity?

6. Wtt: pengen tuker tambah Mile dengan N1

7. Receive data in a serlvet