1. LogCat is a tool used to obtain system log information, including information about Dalvik virtual machines, process information, Android runtime information, and application information. 2. We can simply track the program by adding the program log. LogCat is a relatively light and concise debugging method. 3. Differences from debug debugging debug debugging is generally used for relatively complex problems; Logcat are generally used for relatively easy-to-follow problems; they are complementary relationships. Log log level 1.LOG.V (tag,message),//verbose mode, print the most detailed log, color Black 2. LOG.D (tag,message);//debug-level log, color blue 3. LOG.I (tag,message);//info-level log with a color of green 4. LOG.W (tag,message);//warn-level log, Color orange 5. LOG.V (tag,message);//error-level log, the color red tag is used to mark the source of the log message, and the message is the contents of this log. The error message has the highest level, followed by a warning message, followed by a notification message and debug information, with the lowest level of detail. Count from the output count of the log, Error,warn,info,debug,verbose, the number from less to many
Android siege Lion using Logcat mode debug Program