1、logcat类:


2、开始抓logcat
StreamGobbler_Logcat mobile_log=new StreamGobbler_Logcat("安卓设备号","log路径+log文件名");
mobile_log.start();
3、停止抓logcat
mobile_log.stopLoacat();
1、logcat类:
2、开始抓logcat
StreamGobbler_Logcat mobile_log=new StreamGobbler_Logcat("安卓设备号","log路径+log文件名");
mobile_log.start();
3、停止抓logcat
mobile_log.stopLoacat();
本文标题:java学习笔记:logcat实时保存到本地文件
本文链接:https://www.haomeiwen.com/subject/gyfssqtx.html
网友评论