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 <dissel...@gmail.com> 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: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to