class RailsBand::ActionView::LogSubscriber

The custom LogSubscriber for ActionView.

def consumer_of(sub_event)

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

def render_collection(event)

def render_collection(event)
  consumer_of(__method__)&.call(Event::RenderCollection.new(event))
end

def render_layout(event)

def render_layout(event)
  consumer_of(__method__)&.call(Event::RenderLayout.new(event))
end

def render_partial(event)

def render_partial(event)
  consumer_of(__method__)&.call(Event::RenderPartial.new(event))
end

def render_template(event)

def render_template(event)
  consumer_of(__method__)&.call(Event::RenderTemplate.new(event))
end