Provide a Flush() API within Writer
This is helpful if you’re writing code that needs to control flush behavior and you don’t want to pass around your buffer object to each handler function alongside the writer. Seems like an easy convenience to add.
Showing
Please
register
or
sign in
to comment