Hello, I'm thinking to have a switch or a dev opti...
# chucker
r
Hello, I'm thinking to have a switch or a dev option to enable/disable chucker notification logging, Is there a way to toggle this without creating a new interceptor?
👍 2
g
Hey @rezenebe, There is a
showNotification
flag on the
ChuckerCollector()
class that does exactly that 👌
r
trying this now, thanks a lot
🙏 1
I can create my own collector, but i still need to pass into an interceptor and create a new http client it seems
I was trying to find a way to toggle it on/off at runtime without creating a new client
g
I believe you should just be able to retain the
ChuckerCollector
instance and toggle that
showNotification
if you wish.
r
trying now
retaining instance of chucker works well
thanks!
g
Sweet 🙏