You can add custom traces by regular LOGE, LOGD macros, on the go.... (i
assume u dont want to develeop full fledged framework)
just make sure you have included utils/Log.h

try below snip any opencore source file, and you should be good.

#include <utils/Log.h>
#define LOG_TAG "PV Module"

...

LOGE("custom trace %d", status)

On Tue, Aug 17, 2010 at 9:53 PM, iod <[email protected]> wrote:

> Hi
> For the purpose of performance I had to shut off logging by forcing
> PVLOGGER_INST_LEVEL to 0 inside
> oscl/oscl/osclbase/src/pvlogger.h
> But I need to debug in the same time. So I was wondering how easy it
> is to create my own PVLOGGER_INST_LEVEL layer that spits out
> exclusively my own logs.
>
> Thank you community for any hint
> --
> iod
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to