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