java分析日志文件 如何查看log日志文件?

如何查看log日志文件?查看方法:1。Java和C语言输出日志:1)Java代码输出日志程序,使用android.util.Log文件类别:原木。V(),日志。D(),日志。I(),日志。W(),日志

如何查看log日志文件?

查看方法:1。Java和C语言输出日志:1)Java代码输出日志程序,使用android.util.Log文件类别:原木。V(),日志。D(),日志。I(),日志。W(),日志。E()。它分为动词、debug、info、warn和error对应的缩写。例如:日志。I(“class:function name”,“dateTimeSource file nameLine numberIn the log function,use the API”],2androidlogWrite(log type macro,log label string,log token content string)需要:1安卓.mk将local添加到uldlibs:=-L$(sysRoot)/usr/lib-llog 2。添加#-include<android/log。H> 3英寸*。C级