①日志优先级:ERROR>WARN>INFO>DEBUG>UERBOSEspa
②private static final String TAG="LogTest";debug
String msg="liang";调试
第一种:Log.i(TAG,msg);日志
tag为TAG,级别是Infoorm
第二种:System.out.println(msg);io
tag默认为System.out,级别是Infoform
第三种:System.err.println(msg); bug
tag默认为System.err,级别是Warnerror
verbose(冗长的,啰嗦的)--->debug(调试,出错)--->info(信息,information)--->warn--->error--->assert(判断提示),总共六种,上面三种形式级别是中间的3,4两种。static