lib/ddtrace/contrib/sidekiq/tracing.rb in ddtrace-0.34.2 vs lib/ddtrace/contrib/sidekiq/tracing.rb in ddtrace-0.35.0

- old
+ new

@@ -24,10 +24,10 @@ delay_extension_class(job).to_s else job['class'].to_s end rescue => e - Datadog::Logger.log.debug { "Error retrieving Sidekiq job class name (jid:#{job['jid']}): #{e}" } + Datadog.logger.debug { "Error retrieving Sidekiq job class name (jid:#{job['jid']}): #{e}" } job['class'].to_s end #