class Airbrake::Backlog
def <<(data)
-
(self)-
Parameters:
-
data(Array<#to_json, String>) -- An array of two elements, where the
def <<(data) @queue.synchronize do return self if @seen.include?(data) @seen << data begin @queue.push(data, true) rescue ThreadError logger.error("#{LOG_LABEL} Airbrake::Backlog full") return self end @has_backlog_data.signal schedule_flush self end end