5 Debugging Information for Android

Source: Internet
Author: User

5 Debugging Information for Android

huaqing Vision 2014-10-23 Haidian District, Beijing Zhang Junhao


verbose : Do not filter all the information. A wordy meaning.

Debug : Debug the meaning of debugging.

Info : General tips Information Information

warn : Warning The warning type.

Error : Error message

The format for printing is:

LOG.V (string tag, string msg);//verbose
LOG.D (string tag, string msg); DEBUG
LOG.I (string tag, string msg); INFO
LOG.W (string tag, string msg); WARN
LOG.E (string tag, string msg); ERROR
Tag for debugging information label names, msg Debug information for add

which method is called to add what type of debugging information?

can be based on Logcat the filter to be provided and the type of information to use to determine Log which type of debugging information is added to the method.
Logcat Debug Information Display window Top right there 5 icon, representing the type of filter, can be filtered to output the corresponding debug information:

*v: does not filter out all debug informationincludeVERBOSE,DEBUG,INFO,WARN,ERROR
*d:Debugfilter, OutputDEBUG,INFO,WARN,ERRORDebugging Information
*i:Infofilter, OutputINFO,WARN,ERRORDebugging Information
*w:Waringfilter, OutputWARNand theERRORDebugging Information
*e:Errorfilter, Output onlyERRORDebugging Information

5 Debugging Information for Android

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.