كل حِزم SDK
Breakpad
vsentry-native
استخدم حِزمة Sentry الرسمية مع DSN الظاهر في إعداد مشروع AllStak. لا تحتاج إلى حِزمة SDK خاصة بـ AllStak.
التثبيت
تأتي أوامر Sentry الرسمية هذه من سجل حِزم SDK المُدار في AllStak.
manual
Install sentry-nativeالبدء السريع
#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();