twilio-taskrouter.js
twilio-taskrouter.js copied to clipboard
Bring Your Own Logger
I would like a way to provide my own Logger instance for Worker, Workspace, etc. (or even LoggerFactory for sub-resources, etc.). I see that can intercept logs with loglevel but it is difficult to isolate specific twilio-taskrouter logs via that method. Being able to provide my own Logger/LoggerFactory with a simple interface to implement will allow developers to send logs to all their desired destinations in a straight-forward fashion.