Android siege Lion using Logcat mode debug Program

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.