Android 中如何查看当前logcat的buffer大小

在Android中,如何查看当前系统设置的logcat buffer大小

请先 登录 后评论

1 个回答

凡乐

执行

logcat -g

查看当前logcat的buffer大小

例如:

root:/ $ logcat -g
main: ring buffer is 16 MiB (2 MiB consumed), max entry is 5120 B, max payload is 4068 B
system: ring buffer is 4 MiB (738 KiB consumed), max entry is 5120 B, max payload is 4068 B
crash: ring buffer is 1 MiB (0 B consumed), max entry is 5120 B, max payload is 4068 B
kernel: ring buffer is 16 MiB (313 KiB consumed), max entry is 5120 B, max payload is 4068 B



请先 登录 后评论
  • 1 关注
  • 0 收藏,711 浏览
  • eyeandroid 提出于 2022-03-24 22:24