code: public BuildLogger getLogger() {
      @SuppressWarnings("unchecked") final List<? extends BuildListener> listeners = getProject().getBuildListeners();
      assert listeners.size() > 0;
      return (BuildLogger)listeners.get(0);
    }
docs: Accessor for the logger associated with the {@code Project}.
  
  @return The {@code BuildLogger}.