且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

收到改造的不完全答复

更新时间:2023-11-10 10:41:58

最终,我弄清楚了为什么会这样. HTTP请求没有问题.但由于缓冲区大小有限,因此只有一部分被打印在logcat中.

Eventually I figured out that why this is happening. There were no problem with the HTTP request. But only a part of it was being printed in logcat due to it's limited buffer size.

二进制日志的大小限制为1024字节.非二进制日志的大小限制如下所示.

There is a size limit of 1024 bytes for binary logs. The size limit for non-binary logs are as shown below.

#define LOGGER_ENTRY_MAX_LEN        (4*1024)
#define LOGGER_ENTRY_MAX_PAYLOAD (LOGGER_ENTRY_MAX_LEN - sizeof(struct logger_entry))

要将限制设置为更大的数字,请Preferences/Settings -> Editor -> General -> Console,选中覆盖控制台循环缓冲区大小"旁边的框,然后输入数字.

To set the limit to a larger number, Preferences/Settings -> Editor -> General -> Console, check the box next to Override console cycle buffer size, and enter the number.

我很尴尬,但谢谢您的支持.

I am feeling so embarrassed, but thank you for your support.