开发者

How to save log in a file on device

开发者 https://www.devze.com 2023-03-08 18:08 出处:网络
I want to save the battery log in a file on a device. I don\'t want开发者_如何学编程 to use adb logcat. And i should be able to start and stop saving the log. Please any help or tips would do. Thanks.

I want to save the battery log in a file on a device. I don't want开发者_如何学编程 to use adb logcat. And i should be able to start and stop saving the log. Please any help or tips would do. Thanks.


Use Log4j in your android code refer http://www.vogella.com/articles/Logging/article.html.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号