SentrySwift 1.4.5

SentrySwift 1.4.5

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jan 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Sentry, Josh Holtz.



  • By
  • Sentry

sentry-swift

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: "[email protected]",
    username: "some_user",
    extra: ["is_admin": false]
)