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