maybe need change the log level in init.rc??
On Feb 17, 11:30 am, forest forest...@gmail.com wrote:
for example:
void fun()
{
static int c = 0;
LOGI(call func() %d, ++c);
}
the log sometimes display
call func() 1
call func() 5
call func() 8
..
when debug PVMFStatus
Ah, I forgot that you are doing the increment inside the call. This
could be a classical macro expansion issue. I think all your outputs are
happening, but the increment can be expanded in several places inside
the macro. Try taking the ++c outside of the call:
++c;
LOGI(...);
forest wrote:
You can try to launch logcat like below:adb logcat -r 8000 -f
/data/log.txt
Perhaps it works.
On Tue, Feb 17, 2009 at 9:25 PM, Sean McNeil seanmcne...@gmail.com wrote:
Ah, I forgot that you are doing the increment inside the call. This
could be a classical macro expansion issue. I think
logcat -r 8000 -f /data/log.txt
can record all log,Freepine,thank you very much,
hi,Sean McNeil,thank you too,
++c;
LOGI(...);
has no effect
On 2月17日, 下午10时02分, Freepine freep...@gmail.com wrote:
You can try to launch logcat like below:adb logcat -r 8000 -f
/data/log.txt
Perhaps it
Maybe try a \n at the end of the string?
forest wrote:
for example:
void fun()
{
static int c = 0;
LOGI(call func() %d, ++c);
}
the log sometimes display
call func() 1
call func() 5
call func() 8
..
when debug PVMFStatus AndroidAudioInput::DoRead() int the file