Nezir Zahirovic
Nezir Zahirovic

Node.js has a built-in debug log method

The module `debug` is used by millions of other packages to handle log messages. It turns out Node.js has this functionality also built-in.Today I saw a quick conversation on Twitter between @ThisIsMisEm and @davidmarkclem, which unveiled an interesting fact about Node.js.While millions of packages depend on the very popular debug package, it turns out that Node has similar functionality built-in via util.debuglog. Using it, you could maybe get rid of one dependency in your apps.


Node.js has a built-in debug log method #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typecscript #jquery #emberjs #bosnia