nodejsHow to log errors
Usage example
console.error('oh bad happened')
output
bad happened
More of Nodejs
- How to read stream to Buffer
- How to write file
- How to send JSON response from HTTP server
- How to POST JSON data
- How to pipeline streams
- How to get format date in "yyyy-mm-dd"
- How to set content type in HTTP server
- How to run Node.js script
- How to get post data variables in HTTP server
- How to make GET request
See more codes...