Wednesday, November 2, 2011

Android Log.i LogCat


http://developer.android.com/reference/android/util/Log.html

Log.i can be used to log to LogCat Window in Eclipse :
Log.d can be used in debugging ;
Windows -> Show View -> Other -> Android -> LogCat




Debugging in Android using Eclipse


Android Essentials: Application Logging


WTF - What a Terrible Failure : 
Log.e() method is used to log errors.
Log.w() method is used to log warnings.
Log.i() method is used to log informational messages.
Log.d() method is used to log debug messages.
Log.v() method is used to log verbose messages.
Log.wtf() method is used to log terrible failures that should never happen. 

No comments:

Post a Comment