docs: @javax.annotation.Nonnull
    public String summarize(final int maxLog, @javax.annotation.Nonnull final String string) {
      if (string.length() > maxLog * 2) {
        @javax.annotation.Nonnull final String left = string.substring(0, maxLog);
        @javax.annotation.Nonnull final String right = string.substring(string.length() - maxLog);
        final String link = String.format(file(string, "\n...skipping %s bytes...\n"), string.length() - 2 * maxLog);
        return left + link + right;
      }
      else {
        return string;
      }
    }