lib/timber/probes/rails_rack_logger.rb in timber-1.0.13 vs lib/timber/probes/rails_rack_logger.rb in timber-1.1.0

- old
+ new

@@ -5,10 +5,10 @@ class RailsRackLogger < Probe module InstanceMethods def self.included(klass) klass.class_eval do protected - if klass.method_defined?(:started_request_message) + if klass.private_instance_methods.include?(:started_request_message) || klass.method_defined?(:started_request_message) def started_request_message(request) http_request_event(request) end elsif klass.method_defined?(:before_dispatch) def before_dispatch(env) \ No newline at end of file