lib/betterlog/log/event.rb in betterlog-1.1.0 vs lib/betterlog/log/event.rb in betterlog-1.1.1
- old
+ new
@@ -136,9 +136,12 @@
thread_id: Thread.current.object_id
}
if defined? GlobalMetadata
m |= GlobalMetadata.data
end
+ if defined? Sidekiq::Context.current
+ m |= Sidekiq::Context.current&.symbolize_keys_recursive
+ end
m
end
end
end
end