java 框架 如何查看log日志文件?
如何查看log日志文件?在Java程序中,輸出方法如下:1android.util.Log文件類別:原木。V(),日志。D(),日志。I(),日志。W(),日志。E()。它分為動(dòng)詞、debug、inf
如何查看log日志文件?
在Java程序中,輸出方法如下:1android.util.Log文件類別:原木。V(),日志。D(),日志。I(),日志。W(),日志。E()。它分為動(dòng)詞、debug、info、warn和error對(duì)應(yīng)的縮寫(xiě)。例如:日志。I(“class:function name”,“dateTimeSource file nameLine numberLog information content”
2)C代碼輸出程序中的日志,使用Log的API函數(shù): android Log Write(Log type macro,Log label string,Log token content string)要求:1安卓.mk將本地添加到uldlibs:=-L$(sysRoot)/usr/lib-llog2添加#-include<android/log。H> 3英寸*。C級(jí)