code: public void log(Logger targetLogger)
      {
          Object[] argumentArray = getArgumentArray();
          if (getArgumentArray() == null) {
              log(targetLogger, getLevel(), getMarker(), getMessage(), getThrowable());
          } else {
              if (getThrowable() != null) {
                  argumentArray = ArrayUtils.add(getArgumentArray(), getThrowable());
              }
  
              log(targetLogger, getLevel(), getMarker(), getMessage(), argumentArray);
          }
      }
docs: Copy the stored log into a passed {@link Logger}.
  
  @param targetLogger the logger where to copy the stored log
  @since 5.3M1