code: protected Predicate<GHHook> log(final String format) {
          return new NullSafePredicate<GHHook>() {
              @Override
              protected boolean applyNullSafe(@Nonnull GHHook input) {
                  LOGGER.debug(format("%s {} (events: {})", format), input.getUrl(), input.getEvents());
                  return true;
              }
          };
      }
docs: Mostly debug method. Logs hook manipulation result
  
  @param format prepended comment for log
  
  @return always true predicate