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.



110
111
112
113
114
# File 'lib/logtail/log_devices/http.rb', line 110

def flush
  flush_async
  wait_on_request_queue
  true
end