code: protected void log(String message, int priority) {
          if (project != null) {
              project.log(message, priority);
          }
      }
docs: Logs a message through the project object if one has been provided.
  
  @param message The message to log.
  Should not be <code>null</code>.
  
  @param priority The logging priority of the message.