class ActionView::LogSubscriber

def log_rendering_start(payload, name)

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

def log_rendering_start: (Hash payload, String name) -> Integer?

This signature was generated using 7 samples from 1 application.

def log_rendering_start(payload, name)
  debug do
    qualifier =
      if name == "render_template.action_view"
        ""
      elsif name == "render_layout.action_view"
        "layout "
      end
    return unless qualifier
    message = +"  Rendering #{qualifier}#{from_rails_root(payload[:identifier])}"
    message << " within #{from_rails_root(payload[:layout])}" if payload[:layout]
    message
  end
end