[android-porting] My own PVLOGGER layer

2010-08-17 Thread iod
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

Re: [android-porting] My own PVLOGGER layer

2010-08-17 Thread Deva R
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 #define LOG_TAG "PV Module" ... LOGE("custom tr