Class: Epilog::Rails::ActionViewSubscriber

Inherits:
LogSubscriber
  • Object
show all
Defined in:
lib/epilog/rails/action_view_subscriber.rb

Instance Attribute Summary

Attributes inherited from LogSubscriber

#logger

Instance Method Summary collapse

Methods inherited from LogSubscriber

#initialize

Constructor Details

This class inherits a constructor from Epilog::Rails::LogSubscriber

Instance Method Details

#render_collection(event) ⇒ Object



14
15
16
# File 'lib/epilog/rails/action_view_subscriber.rb', line 14

def render_collection(event)
  debug { hash(event, 'Rendered collection') }
end

#render_partial(event) ⇒ Object



10
11
12
# File 'lib/epilog/rails/action_view_subscriber.rb', line 10

def render_partial(event)
  debug { hash(event, 'Rendered partial') }
end

#render_template(event) ⇒ Object



6
7
8
# File 'lib/epilog/rails/action_view_subscriber.rb', line 6

def render_template(event)
  debug { hash(event, 'Rendered template') }
end