code: final void dispatchToAppender(final LoggingEvent customLoggingEvent) {
      // wrap the LoggingEvent in a FileRollEvent to prevent recursion bug
      final FoundationFileRollingAppender appender = this.getSource();
      if (appender != null) {
        appender.append(new FileRollEvent(customLoggingEvent, this));
      }
    }
docs: Convenience method dispatches the specified event to the source appender,
  which will result in the custom event data being appended to the new file.
  
  @param customLoggingEvent
  The custom Log4J event to be appended.