Backend: Error Monitoring
Go
JS
Python
Backend: Logging
Fullstack Frameworks
Next.JS
Self Host & Local Dev
Menu
Node.js App
Learn how to set up highlight.io JS log ingestion without a logging library.
1
Set up your frontend and backend highlight.io integration.
First, make sure you've followed the frontend getting started and backend getting started guides.
2
Call built-in console methods.
Logs are automatically recorded by the highlight SDK. Arguments passed as a dictionary as the second parameter will be interpreted as structured key-value pairs that logs can be easily searched by.
module.exports = function() {
console.log('hey there!');
console.warn('whoa there', {'key': 'value'});
}
3
Verify your backend logs are being recorded.
Visit the highlight logs portal and check that backend logs are coming in.