lib/rack/insight/toolbar.rb in rack-insight-0.5.4 vs lib/rack/insight/toolbar.rb in rack-insight-0.5.5
- old
+ new
@@ -48,10 +48,10 @@
req_id = (@env['rack-insight.request-id'] || @request_table.last_request_id).to_i
requests = @request_table.to_a.map do |row|
{ :id => row[0], :method => row[1], :path => row[2] }
end
- logger.info{ "Injecting toolbar: active panels: #{@insight.panels.map{|pnl| pnl.class.name}.inspect}" }
+ logger.info{ "Injecting toolbar: active panels: #{@insight.panels.map{|pnl| pnl.class.name}.inspect}" } unless verbose(:silent)
headers_fragment = render_template("headers_fragment",
:panels => @insight.panels,
:request_id => req_id)