---
title: "Consola"
description: "Send logs from the Consola library to Sentry in React Native."
url: https://docs.sentry.io/platforms/react-native/integrations/consola/
last_updated: 2026-06-30T08:22:32.000Z
---

# Consola for React Native

##### Sentry Logs

Enable the Sentry Logs feature with `enableLogs: true` in your `Sentry.init` call to unlock Sentry's full logging power. With Sentry Logs, you can search, filter, and analyze logs from across your entire application in one place.

In SDK version `10.12.0` and above, you can send logs to Sentry via the [consola](https://github.com/unjs/consola) logging library.

```js
import { consola } from "consola";

// Create a Sentry reporter for consola
const sentryReporter = Sentry.createConsolaReporter();

// Add the reporter to consola
consola.addReporter(sentryReporter);
```

The `createConsolaReporter` method accepts a `levels` option, which allows you to filter which levels are sent to Sentry. By default all levels are logged.

```js
const sentryReporter = Sentry.createConsolaReporter({
  levels: ["error", "warn"],
});
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
