You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
547 B

  1. module Semantic
  2. module Subscribers
  3. class ActionView < LogSubscriber
  4. include AnsiColors
  5. attr_reader :logger
  6. def initialize
  7. super(:action_view)
  8. end
  9. def render_partial(event)
  10. # logger.info('Rendered partial')
  11. end
  12. def render_template(event)
  13. logger.debug('Rendered template')
  14. end
  15. def render_collection(event)
  16. logger.debug('Rendered collection')
  17. end
  18. def render_layout(event)
  19. logger.debug('Rendered layout')
  20. end
  21. end
  22. end
  23. end