On Jan 1, 8:23 pm, lucky <[email protected]> wrote:
> I have tried below steps to turn on stdout/stderr log message but it
> seems only stderr log message works fine, stdout message still not
> output from logcat.
Make sure you disable buffering with something like:
setvbuf(stdout, NULL, _IONBF, 0);
setvbuf(stderr, NULL, _IONBF, 0);
Otherwise you won't see anything until the stdio buffer fills up and
flushes.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---