private void dumpEventDatas(List<EventData> eventDatas) {
        int size = eventDatas.size();
        // 开始输出每条记录
        int index = 0;
        do {
            if (index + logSplitSize >= size) {
                logger.info(MessageDumper.dumpEventDatas(eventDatas.subList(index, size)));
            } else {
                logger.info(MessageDumper.dumpEventDatas(eventDatas.subList(index, index + logSplitSize)));
            }
            index += logSplitSize;
        } while (index < size);
    }
private void dumpEventDatas ( List < EventData > eventDatas ) { int size = eventDatas . size ( ) ; int index = 0 ; do { if ( index + logSplitSize >= size ) { logger . info ( MessageDumper . dumpEventDatas ( eventDatas . subList ( index , size ) ) ) ; } else { logger . info ( MessageDumper . dumpEventDatas ( eventDatas . subList ( index , index + logSplitSize ) ) ) ; } index += logSplitSize ; } while ( index < size ) ; }
分批输出多个数据