nodejsHow to log errors
Usage example
console.error('oh bad happened')
output
bad happened
More of Nodejs
- How to pipeline streams
- How to send message to client from websocket server
- How to read stream to Buffer
- How to get UTC timestamp
- How to write file
- How to POST JSON data
- How to post url-encoded data
- How to get format date in "yyyy-mm-dd"
- How to get current time
- How to convert JSON to Buffer
See more codes...