dasmer / sentry-swift

The official Sentry client for iOS/tvOS/macOS/watchOS

Home Page:https://sentry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sentry-swift

Travis platforms langauges Carthage compatible codecov

Swift client for Sentry. This client was writen in Swift but works with both Swift and Objective-C projects.

// Create client and start crash handler
SentryClient.shared = SentryClient(dsnString: "your-dsn")
SentryClient.shared?.startCrashHandler()

// Set 
SentryClient.shared?.user = User(id: "3",
	email: "example@example.com",
	username: "some_user",
	extra: ["is_admin": false]
)

About

The official Sentry client for iOS/tvOS/macOS/watchOS

https://sentry.io

License:MIT License


Languages

Language:Swift 91.5%Language:Ruby 6.1%Language:Objective-C 2.4%