Filter by log level in JS?

I recently set out to update an old angular app using Raven 2.2.0 to something more modern. Now it seems to log debug() output to sentry instead of just errors. I can’t seem to locate any configuration options in the docs to set it to only log errors. Where/how is this done?

I suppose you mean console.log calls?

You can disable breadcrumbs for this by setting stuff in the integration:

Sentry.init({
  dsn: "your dsn",
  integrations: [new Sentry.Integrations.Breadcrumbs({
    console: false
  })]
});

What if, like the OP asked, you want to only disable console.log and not, say, console.error ?