I want to log all errors and warnings in production. I\'m already listening for errors, but is it possible to listen for npm dependency warnings in react in order to do somethin