void (@NotNull ProcessEvent event, @NotNull Key outputType) { if (attachToProcessOutput) { try { ConsoleViewContentType contentType = null; if (outputType != ProcessOutputTypes.STDOUT) { contentType = ConsoleViewContentType.getConsoleViewType(outputType); } String text = event.getText(); if (outputType == ProcessOutputTypes.SYSTEM) { text = StringUtil.convertLineSeparators(text, LineSeparator.CRLF.getSeparatorString()); } else if (shouldConvertLfToCrlf(processHandler)) { text = convertTextToCRLF(text); } printText(text, contentType); } catch (IOException e) { LOG.info(e); } } }