Nodejs- console.error vs util.debug

Viewed 27542

I noticed that node.js has both console.error and util.debug, as well as console.log and util.log.

Is there a difference besides the console.* functions being more robust in the parameters they take? The API says that they write to stdout and stderr respectively.

If there's no difference, which should I use and why?

3 Answers
Related