nodejsHow to log errors
Usage example
console.error('oh bad happened')
output
bad happened
More of Nodejs
- How to run Node.js script in background
- How to get current timestamp in seconds
- How to install Node.js on Ubuntu 22.04
- How to get difference between 2 dates in minutes
- How to exit process with success
- How to set content type in HTTP server
- How to send message to client from websocket server
- How to set environment variable
- How to post url-encoded data
- How to write file
See more codes...