void (@NotNull String line, @NotNull Key outputType) { if (mySilent) return; boolean shouldLogOutput = outputType == ProcessOutputTypes.STDOUT && !isStdoutSuppressed() || outputType == ProcessOutputTypes.STDERR && !isStderrSuppressed(); if (!shouldLogOutput) return; if (StringUtil.isEmptyOrSpaces(line)) return; LOG.info(line.trim()); }