class ActionView::LogSubscriber

def render_partial(event)

Experimental RBS support (using type sampling data from the type_fusion project).

def render_partial: (ActiveSupport::Notifications::Event event) -> Integer

This signature was generated using 4 samples from 1 application.

def render_partial(event)
  debug do
    message = +"  Rendered #{from_rails_root(event.payload[:identifier])}"
    message << " within #{from_rails_root(event.payload[:layout])}" if event.payload[:layout]
    message << " (Duration: #{event.duration.round(1)}ms | Allocations: #{event.allocations})"
    message << " #{cache_message(event.payload)}" unless event.payload[:cache_hit].nil?
    message
  end
end