folly::LogWriter::flush

Block until all messages that have already been sent to this LogWriter have been written.

Synopsis

Declared in <folly/logging/LogWriter.h>

virtual
void
flush() = 0;

Description

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.