method

step_started

rails latest stable - Class: ActiveJob::LogSubscriber

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

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