Closed killmenot closed 7 years ago
This would probably be the way to do it if I was re-writing ewd-qoper8 from scratch. A lot of modules that use it (eg QEWD.js) expect the logging in ewd-qoper8 to work the way it currently does (using console.log), so the impact of what you suggest would be potentially very far-reaching. I'm therefore not sure it's a good idea.
Hi @robtweed
During working with
ewd-qoper8
I found that in some places in the code we have logging statements like:and
I'd like to propose you to update logging by using the debug module for cases like
case-1
We can define logging with passing
DEBUG
env variable. Quick examples:Pros:
Cons: