docs: public String formatVerboseMessage(LogRecord logRecord, String formattedMsg, boolean useResourceBundle) {
          Object[] logParams = logRecord.getParameters();
          if (logParams != null) {
              // Loop through the parameters looking for those that are formatted
              // differently in verbose messages.
              for (int i = 0; i < logParams.length; i++) {
                  Object logParam = logParams[i];
                  if (logParam != null) {
                      Object newLogParam = formatVerboseObj(logParam);
                      if (newLogParam != null) {
                          // We found a parameter with verbose formatting.
  
                          // Copy the [0-i) parameters unchanged.
                          Object[] newLogParams = new Object[logParams.length];
                          System.arraycopy(logParams, 0, newLogParams, 0, i);
  
                          // Copy the reformatted i'th parameter.
                          newLogParams[i] = newLogParam;
  
                          // Loop over the rest of the parameters, reformatting
                          // or copying unchanged as needed.
                          for (i++; i < logParams.length; i++) {
                              logParam = logParams[i];
                              if (logParam != null) {
                                  newLogParam = formatVerboseObj(logParam);
                                  newLogParams[i] = newLogParam != null ? newLogParam : logParam;
                              }
                          }
  
                          return formatMessage(logRecord, newLogParams, useResourceBundle);
                      }
                  }
              }
          }
  
          // No reformatting necessary.  Use the already formatted message, or
          // format it now if necessary.
          if (formattedMsg == null) {
              formattedMsg = formatMessage(logRecord, logParams, useResourceBundle);
          }
  
          return formattedMsg;
      }