In Android application can't use System.out.println(...);. Android have Log to print some outputs while developing the application. This Log should be avoid in production.
Log.v("TAG", "MSG") - Verbose
Log.e("TAG", "MSG") - Error
Log.d("TAG", "MSG") - Debug
These logs can't be seen in eclipse or any other place. These logs can be viewed only adb shell.
# logcat
Comments
Post a Comment