Open neilord opened 4 months ago
Hmm. What is the problem with console.log messages? Don't most prod environments have a way of managing these?
I'm not opposed to making (or approving contributed) changes, but it isn't clear to me what to replace it with. Feel free to join the user conversation happening in the webex-node-bot-framework Support Space to see if there is a community reccomendation.
@jpjpjp Thanks for the reply!
One of the reasons is that if the application uses a custom logging system, those technical console.log
s from dependence packages can be undesired in the log files. It is considered a better practice to provide the solution below:
It can be useful to have an option like logger
that can be set to true to enable those console.log
s.
Thanks!
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
webex-node-bot-framework@2.5.1
for the project I'm working on.Please do not include
console.log
s in production libraries.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.