lib/ddtrace/contrib/grape/patcher.rb in ddtrace-0.30.1 vs lib/ddtrace/contrib/grape/patcher.rb in ddtrace-0.31.0
- old
+ new
@@ -61,10 +61,10 @@
Datadog.configuration[:grape][:service_name] = service_name
end
def log_deprecation_warning(method_name)
do_once(method_name) do
- Datadog::Tracer.log.warn("#{method_name}:#{DEPRECATION_WARNING}")
+ Datadog::Logger.log.warn("#{method_name}:#{DEPRECATION_WARNING}")
end
end
end
end
end