Module: RailsPerformance::Extensions::View

Defined in:
lib/rails_performance/extensions/trace.rb

Instance Method Summary collapse

Instance Method Details

#info(&block) ⇒ Object

in env this works if config.log_level = :info



6
7
8
9
10
11
12
# File 'lib/rails_performance/extensions/trace.rb', line 6

def info(&block)
  CurrentRequest.current.trace({
    group: :view,
    message: block.call
  })
  super
end