Send logs and events from JavaScript apps to Honeybadger Insights
Logs
Instrument your JavaScript application, either backend or frontend, to send your logs automatically to Honeybadger Insights. More information can be found here.
Events
If you have custom events you'd like to track, use Honeybadger.event()
to report them to Insights:
javascript
Honeybadger.event('button_click', {
action: 'buy_now',
user_id: 123,
product_id: 456
})
More information about sending events to Insights from your JavaScript apps can be found here.