I am new to node.js and I am trying to move away from using console.log for debugging everything. I am trying to use
debug("test message")
instead of console.log for everything.
I installed the debug npm package, and it instructed me to:
set DEBUG=* node server.js
But, with my express package, I get the following: 
The app message in blue is the only relevant message to me since I am trying to use that instead of console.log. How can I get rid of these express logs? Do you think at some point they would be important?
via Dream_Cap
No comments:
Post a Comment