Learn how to set up Sentry's Logs feature using our supported SDKs.
To set up Sentry Logs, use the links below for supported SDKs. After it's been set up, you'll be able to view and query logs and parameters sent from your applications within Sentry.
Browser JavaScript|Set up the Sentry Browser JavaScript SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Angular|Set up the Sentry Angular SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Astro|Set up the Sentry Astro SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
AWS Lambda|Set up the Sentry AWS Lambda SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Azure Functions|Set up the Sentry Azure Functions SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Bun|Set up the Sentry Bun SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Cloudflare|Set up the Sentry Cloudflare SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Electron|Set up the Sentry Electron SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Ember|Set up the Sentry Ember SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Express|Set up the Sentry Express SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Fastify|Set up the Sentry Fastify SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Gatsby|Set up the Sentry Gatsby SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Google Cloud Functions|Set up the Sentry Google Cloud Functions SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Hapi|Set up the Sentry Hapi SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Hono|Set up the Sentry Hono SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Koa|Set up the Sentry Koa SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Nest.js|Set up the Sentry Nest.js SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Node.js|Set up the Sentry Node.js SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Next.js|Set up the Sentry Next.js SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Nuxt|Set up the Sentry Nuxt SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
React|Set up the Sentry React SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
React Router|Set up the Sentry React Router SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Remix|Set up the Sentry Remix SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Solid|Set up the Sentry Solid SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
SolidStart|Set up the Sentry SolidStart SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Svelte|Set up the Sentry Svelte SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
SvelteKit|Set up the Sentry SvelteKit SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
TanStack Start|Set up the Sentry TanStack Start SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Vue|Set up the Sentry Vue SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Wasm|Set up the Sentry Wasm SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Android|Set up the Sentry Android SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Apple|Set up the Sentry Apple SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Capacitor|Set up the Sentry Capacitor SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Flutter|Set up the Sentry Flutter SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
React Native|Set up the Sentry React Native SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
PHP|Set up the Sentry PHP SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Symfony|Set up the Sentry Symfony SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Laravel|Set up the Sentry Laravel SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Python|Set up the Sentry Python SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Ruby|Set up the Sentry Ruby SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Rails|Set up the Sentry Rails SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Go|Set up the Sentry Go SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
.NET|Set up the Sentry .NET SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
ASP.NET Core|Set up the Sentry ASP.NET Core SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
MAUI|Set up the Sentry MAUI SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Generic Host|Set up the Sentry Generic Host SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Microsoft.Extensions.Logging|Set up the Sentry Microsoft.Extensions.Logging SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Serilog|Set up the Sentry Serilog SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
NLog|Set up the Sentry NLog SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
log4net|Set up the Sentry log4net SDK with the Sentry CLI. Install the CLI with curl https://cli.sentry.dev/install -fsS | bash, then follow the Sentry CLI docs to finish setup.
Log drains allow you to forward logs from platforms like Vercel, Cloudflare, Heroku, and Supabase directly to Sentry without modifying your application code. Learn more about log and trace drains.
You can also send logs to Sentry via Sentry's OpenTelemetry (OTLP) Logs endpoint. This can be used with any OpenTelemetry SDK, or with the OpenTelemetry Collector to send logs to Sentry. This is useful if you're already using OpenTelemetry instrumentation or want to route logs through an OTLP collector.
Help improve this content Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").