lib/ddtrace/contrib/presto/patcher.rb in ddtrace-0.34.2 vs lib/ddtrace/contrib/presto/patcher.rb in ddtrace-0.35.0
- old
+ new
@@ -18,10 +18,10 @@
def patch
do_once(:presto) do
begin
::Presto::Client::Client.send(:include, Instrumentation::Client)
rescue StandardError => e
- Datadog::Logger.log.error("Unable to apply Presto integration: #{e}")
+ Datadog.logger.error("Unable to apply Presto integration: #{e}")
end
end
end
end
end