Block until all messages that have already been sent to this LogWriter have been written.
Declared in <folly/logging/LogWriter.h>
virtual
void
flush() = 0;
Other threads may still call writeMessage() while flush() is running. writeMessage() calls that did not complete before the flush() call started will not necessarily be processed by the flush call.