import o logcat android studio code example
Example: 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)