Adds 'detach_from' to 'ActiveSupport::Subscriber' to detach a subscriber from a namespace. #35691
Presently, If we want any logging configurable. Then, we need to do some monkey patching in log subscriber.
This pull request adds 'detach_from' to 'ActiveSupport::Subscriber'. So that, we can detach a subscriber from a namespace and then attach a custom subscriber later.
for eg: We can use custom activejob logging in this way:
The text was updated successfully, but these errors were encountered: