code: private void printMessage(final String message, final PrintStream stream, final int priority) {
          if (useColor && priority == Project.MSG_ERR) {
              stream.print(ANSI_RED);
              stream.print(message);
              stream.println(ANSI_RESET);
          } else {
              stream.println(message);
          }
      }
docs: Prints a message to a PrintStream.
  
  @param message The message to print. Should not be <code>null</code>.
  @param stream A PrintStream to print the message to. Must not be
  <code>null</code>.
  @param priority The priority of the message. (Ignored in this
  implementation.)