method
step_started
rails latest stable - Class:
ActiveJob::LogSubscriber
step_started(event)public
No documentation available.
# File activejob/lib/active_job/log_subscriber.rb, line 165
def step_started(event)
job = event.payload[:job]
step = event.payload[:step]
info do
if step.resumed?
"Step '#{step.name}' resumed from cursor '#{step.cursor}' for #{job.class} (Job ID: #{job.job_id})"
else
"Step '#{step.name}' started for #{job.class} (Job ID: #{job.job_id})"
end
end
end