Skip to content

Capturing logs

View Markdown

You can send console logs to Insights either by sending your logs to Honeybadger from your infrastructure or by enabling Insights console instrumentation when configuring Honeybadger:

Honeybadger.configure({
// ...
insights: {
enabled: true,
console: true,
},
});

insights.enabled is the master switch; insights.console is ignored unless insights.enabled is true. This will send all log messages to Honeybadger, where they will be displayed in the Insights section of your dashboard.

To send your own application events instead, see Sending custom events.