public void showMessageInConsole(@NotNull @Nls String message, @NotNull ConsoleViewContentType contentType) {
    if (message.length() > MAX_CONSOLE_OUTPUT_SIZE) {
      message = message.substring(0, MAX_CONSOLE_OUTPUT_SIZE);
    }
    ProjectLevelVcsManager.getInstance(myProject).addMessageToConsoleWindow(message, contentType);
  }
public void showMessageInConsole(@NotNull @Nls String message, @NotNull ConsoleViewContentType contentType)