android debug log code example
Example 1: android studio log usage
Log.e(String, String); //(error)
Log.w(String, String); //(warning)
Log.i(String, String); //(information)
Log.d(String, String); //(debug)
Log.v(String, String); //(verbose)
Example 2: android logs for app on terminal
adb logcat | grep -F "`adb shell ps | grep com.asanayoga.asanarebel | tr -s [:space:] ' ' | cut -d' ' -f2`"