class SemanticLogger::Appender::IO

def flush

Waits for all sent documents to be written to disk
Flush all pending logs to disk.
def flush
  @io.flush if @io.respond_to?(:flush)
end