本文介绍了adb logcat:增加最大消息长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

logcat似乎截断了很长的日志消息,有没有办法防止这种情况?

it seems like logcat truncates very long log messages, is there a way to prevent this?

$ adb logcat -g
ring buffer is 64Kb (63Kb consumed), max entry is 20480b, max payload is 20460b

我想我需要增加最大条目数和/或可能增加有效载荷大小!?

I think I need to increase the max entry and/or may payload size!?

亲切的问候
Alex

Kind regardsAlex

推荐答案

最大条目和最大有效载荷的编码如下。所以我认为您不能更改它们。

max entry and max payload are harcoded as below. So i dont think you can change them.

这篇关于adb logcat:增加最大消息长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:38
查看更多