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));
    }
  }
final void dispatchToAppender ( final LoggingEvent customLoggingEvent ) { final FoundationFileRollingAppender appender = this . getSource ( ) ; if ( appender != null ) { appender . append ( new FileRollEvent ( customLoggingEvent , this ) ) ; } }
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.