Method: Logtail::LogDevices::HTTP#flush

Defined in:
lib/logtail/log_devices/http.rb

#flushObject

Flush all log messages in the buffer synchronously. This method will not return until delivery of the messages has been successful. If you want to flush asynchronously see #flush_async.



116
117
118
119
120
# File 'lib/logtail/log_devices/http.rb', line 116

def flush
  flush_async
  wait_on_request_queue
  true
end