In Android, How to capture or redirect the logs from LogCat to a file using ECLIPSE IDE. I dont want to use command prompt option. As i haven't configured it . Thanks
See logcat | Android Developers.
Can be redirected to file from the command prompt. Use adb logcat -f <filename>
, or in Linux it will be better adb logcat | tee <filename>
.
Also, you can capture the time stamp as well with
adb logcat -v time -f <filename>
, or in Linux it will be adb logcat -v time | tee <filename>
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With