code: protected static List<String> formatMessageParameters(Object[] parameters) {
          List<String> stringParameters = new ArrayList<>(parameters.length);
          for (Object parameter : parameters) {
              stringParameters.add((parameter != null) ? parameter.toString() : null);
          }
          return stringParameters;
      }
docs: Extracts message parameters into a List of Strings.
  <p>
  null parameters are kept as null.
  
  @param parameters parameters provided to the logging system.
  @return the parameters formatted as Strings in a List.