Reputation: 21335
I am running a custom android application. inside that application I have various Log statements.
Log.i(TAG, "I am in activityA")
etc. Which log file and directory location will this log file appear in. Will it print to the log file on device and if so which one? Thanks Also where do I set levels which will print? I assume Log.d(TAG, "")
will not appear on device logs since it needs to be in debug mode ... Also where to set log levels for deployed app in manifest
?
Upvotes: 4
Views: 26027
Reputation: 193
You can use logcat to view the logs. You can run logcat as an adb command : Open a command windw on your PC and type
$ adb logcat
(OR)
$ adb shell
# logcat
(OR)
You can execute it directly from the shell prompt of your target device.
Upvotes: 4