class RailsBand::ActionMailer::LogSubscriber

The custom LogSubscriber for ActionMailer.

def consumer_of(sub_event)

def consumer_of(sub_event)
  consumers[:"#{sub_event}.action_mailer"] || consumers[:action_mailer] || consumers[:default]
end

def deliver(event)

def deliver(event)
  consumer_of(__method__)&.call(Event::Deliver.new(event))
end

def process(event)

def process(event)
  consumer_of(__method__)&.call(Event::Process.new(event))
end