Android studio _ LogCat中的很多记录?

时间:2016-08-18 06:27:15

标签: android android-studio android-logcat

selecting来自sqlite然后添加ArrayList我的记录超过10000。然后循环ArrayList以便在LogCat中显示以供审核记录但在LogCat中没有显示所有数据?如何在Logcat或其他任何地方显示我的所有记录?

for (int i = 0; i < listCDM.size(); i++) {
    Log.i("MyLog",
            listCDM.get(i).getDate()
                    + "**" +
                    listCDM.get(i).getTime()
                    + "**" +
                    listCDM.get(i).getLat()
                    + "**" +
                    listCDM.get(i).getLng()
                    + "**" +
                    listCDM.get(i).getCounts() + "**" + i);
}

1 个答案:

答案 0 :(得分:1)

因为idea log cat buffer的默认大小是1024.您可以更改它 android-studio \ bin \ idea.properties 是路径,您必须在其中更改缓冲区的默认大小 的 idea.cycle.buffer.size = 1024

阅读此配置文档 http://tools.android.com/tech-docs/configuration