code: private String writeStringArray(String name, String[] values) {
          StringBuffer buffer = new StringBuffer();
          buffer.append("        ").append(name).append("=[");
          for (int i = 0; i < values.length; i++) {
              buffer.append("'").append(values[i]).append("'");
              if (i < values.length - 1) {
                  buffer.append(", ");
              }
          }
          buffer.append("]\n");
          return buffer.toString();
      }
docs: Helper for the {@link #log(ConsumerJournalEntry)} method. Writes the
  values of a string array