Output Event
Fires whenever a segment is complete.
Syntax
func onOutput(outputData: Data)
Remarks
The Output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.