class ChewyKiqqer::LogSubscriber
Public Instance Methods
index(event)
click to toggle source
# File lib/chewy_kiqqer/log_subscriber.rb, line 9 def index(event) debug "ChewyKiqqer index updated on #{event.payload[:index_name]} with ids #{event.payload[:ids]} - duration #{event.duration}" end
logger()
click to toggle source
# File lib/chewy_kiqqer/log_subscriber.rb, line 17 def logger ChewyKiqqer.logger end
perform(event)
click to toggle source
# File lib/chewy_kiqqer/log_subscriber.rb, line 5 def perform(event) info "ChewyKiqqer job ran on #{event.payload[:index_name]} with ids #{event.payload[:ids]} - duration #{event.duration}" end
queue_jobs(event)
click to toggle source
# File lib/chewy_kiqqer/log_subscriber.rb, line 13 def queue_jobs(event) debug "ChewyKiqqer queued jobs from #{event.payload[:class]} #{event.payload[:id]}" end