lib/rack/insight/instrumentation/instrument.rb in rack-insight-0.5.23 vs lib/rack/insight/instrumentation/instrument.rb in rack-insight-0.5.24
- old
+ new
@@ -69,21 +69,21 @@
end
collectors
end
def start_event(method_call, arguments)
- if verbose(:high)
+ if verbose(:debug)
logger.debug{ "Starting event: #{method_call.context} #{method_call.kind} #{method_call.method}" }
end
collectors_for(method_call).each do |collector|
collector.before_detect(method_call, arguments)
end
end
def finish_event(method_call, arguments, start_time, result)
timing = Timing.new(@start, start_time, Time.now)
- if verbose(:high)
+ if verbose(:debug)
logger.debug{ "Finishing event: #{method_call.context} #{method_call.kind} #{method_call.method}" }
end
collectors_for(method_call).each do |collector|
collector.after_detect(method_call, timing, arguments, result)
end