void (@NotNull Printer printer, @NotNull String text, @NotNull ConsoleViewContentType contentType) { if (ConsoleViewContentType.NORMAL_OUTPUT.equals(contentType)) { printer.printWithAnsiColoring(text, ProcessOutputTypes.STDOUT); } else if (ConsoleViewContentType.ERROR_OUTPUT.equals(contentType)) { printer.printWithAnsiColoring(text, ProcessOutputTypes.STDERR); } else { printer.print(text, contentType); } }