pub fn flush()
Flush to stdout.
If flushing fails, panics with Failed to flush to stdout.
Failed to flush to stdout