如何从猛击观看日志 [英] How to watch Logs from Slog
本文介绍了如何从猛击观看日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎么能看到猛击API生成的日志。是否有任何选项来查看日志从系统缓冲区。
How can I see the logs generated from Slog API. Is there any option to see the logs from system buffer.
我的意思是,看看从无线电缓冲区的日志,我们使用
I mean to see logs from radio buffer we use
亚行logcat -b广播
adb logcat -b radio
和由Android的Log类生成此日志。
And this log is generated by Android's Log class.
在哪里猛击API的输出?怎样才可以看到?
Where is the output of the Slog API? How can it be seen?
推荐答案
使用:
adb logcat -b system
此从系统缓冲器输出日志记录,而不是在主或无线电缓冲
This outputs logging from the 'system' buffer, as opposed to the main or radio buffer.
这篇关于如何从猛击观看日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文