Android 5-like debugging information

Source: Internet
Author: User

Android 5-like debugging information

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


verbose : Just 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 is the debug information label name. msg for the debugging information to join

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 form Top right there 5 an icon. Represents a type of filter that can filter out the corresponding debug information:

*v: Just 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, just outputERRORDebugging Information

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Android 5-like debugging information

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.