mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
extend the single object, don't touch the class
This commit is contained in:
parent
c3ea67a79b
commit
e30e33b6c5
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
unless logger.is_a?(Sidekiq::LogContext)
|
||||
logger.class.send(:include, Sidekiq::LogContext)
|
||||
logger.extend(Sidekiq::LogContext)
|
||||
end
|
||||
|
||||
@logger = logger
|
||||
|
|
Loading…
Reference in a new issue