public LogDataFromSL(BugReportModule br, String chapterName, String id, String infoId) { super(br, null, chapterName, id, infoId); LogLines sl = (LogLines) br.getInfo(SystemLogPlugin.INFO_ID_SYSTEMLOG); Section mKernelLog = null; if (sl != null) { int cnt = sl.size(); for (int i = 0; i < cnt; i++) { LogLine l = sl.get(i); if (l.tag.equals("kernel")) { if (mKernelLog == null) { mKernelLog = new Section(br, Section.KERNEL_LOG_FROM_SYSTEM); br.addSection(mKernelLog); } String line = convertToKrnLogLevel(l.level) + l.msg; mKernelLog.addLine(line); addLine(br, line, l.ts); } } } }