@ Override public synchronized void write ( final Event event ) throws IOException { if ( ! acceptsEvents ) { log . warn ( "Writer not ready, discarding event: {}" , event ) ; return ; } delegate . write ( event ) ; uncommittedWriteCount ++ ; commitIfNeeded ( ) ; }
Write an Event via the delegate writer