より
The old Sidekiq::Logging class was removed in Sidekiq 6.0. You should not be accessing any Sidekiq internal classes to use the logger. Use logger directly in your Worker or use Sidekiq.logger elsewhere.
ということでSidekiq::logging.loggerではなくSidekiq.loggerで書いたらエラーがなくなりました。