Method: ActionMailer::LogSubscriber#process

Defined in:
actionmailer/lib/action_mailer/log_subscriber.rb

#process(event) ⇒ Object

An email was generated.



28
29
30
31
32
33
34
# File 'actionmailer/lib/action_mailer/log_subscriber.rb', line 28

def process(event)
  debug do
    mailer = event.payload[:mailer]
    action = event.payload[:action]
    "#{mailer}##{action}: processed outbound mail in #{event.duration.round(1)}ms"
  end
end