开发者

How to watch Logs from Slog

开发者 https://www.devze.com 2023-03-11 16:36 出处:网络
How can I see the logs开发者_如何学C generated from Slog API. Is there any option to see the logs from system buffer.

How can I see the logs开发者_如何学C 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

adb logcat -b radio

And this log is generated by Android's Log class.

Where is the output of the Slog API? How can it be seen?


Use:

adb logcat -b system

This outputs logging from the 'system' buffer, as opposed to the main or radio buffer.

0

精彩评论

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