Static factory designed to expose write events to event handlers that are not necessarily instances of FileWriter.
write
See EventStreamProvider for usage information.