module Semantic module Subscribers class ActionView < LogSubscriber include AnsiColors attr_reader :logger def initialize super(:action_view) end def render_partial(event) # logger.info('Rendered partial') end def render_template(event) logger.debug('Rendered template') end def render_collection(event) logger.debug('Rendered collection') end def render_layout(event) logger.debug('Rendered layout') end end end end