Logging things that happend in android by specific package name -
i'm after solution heavy logging mecanism, log out happens when instance anr
occurs @ specific packagename. want achieve, log information logcat
outputs when phone connected computer. is possible when phone disconnected , in use "regular" user?
i've found great post, outputs som relevent logcat stuff text file on sdcard.
i've used command: logcat -b main -d -v time
string parameter sorting logging.
i found possbile solution expanding command sort after level(debug
, verbose
, error
etc).
so command this:
adb -d logcat com.my.package:e *:s
i found command @ post, wouldnt't log out file.
so questions is:
how can i, based on information above, log out logcat information, level error
, .txt
file on phones sdcard, without having phone connected computer , eclipse. possible @ all?
many thanks!
after long trial , error found solution, hope helps others. write application specific log text file in sd card use command.
"logcat -b main -d -v time ['your package name go here']".