All SDKs

Breakpad

v

sentry-native

Use the official Sentry SDK with the DSN shown in your AllStak project setup. No AllStak-specific SDK is required.

Install

These official Sentry commands come from the AllStak-managed SDK catalog.

manual
Install sentry-native

Quick start

#include <sentry.h>

sentry_options_t *options = sentry_options_new();
sentry_options_set_dsn(options, "{{DSN}}");
sentry_options_set_environment(options, "production");
sentry_options_set_release(options, "[email protected]");
sentry_init(options);

sentry_capture_event(sentry_value_new_message_event(
    SENTRY_LEVEL_ERROR, "main", "hello from sentry-native"));
sentry_close();