swift-log-sentry

1.0.0

Sentry logging backend for SwiftLog
ericlewis/swift-log-sentry

What's New

1.0.0

2022-01-15T08:34:55Z

Full Changelog: 0.1.0...1.0.0

SwiftLogSentry

Build & Test

A Sentry logging backend for SwiftLog.

Getting started

Supports iOS 9+, macOS 10.10+, tvOS 9+, watchOS 2+. Before using the logger you need to initialize the Sentry SDK.

Adding the dependency

SwiftLogSentry is designed for Swift 5. To use the handler, you need to declare your dependency in your Package.swift:

.package(url: "https://github.com/ericlewis/swift-log-sentry.git", from: "0.1.0"),

and to your application/library target, add "SentryLogHandler" to your dependencies, e.g. like this:

// Target syntax for Swift up to version 5.1
.target(name: "BestExampleApp", dependencies: ["SentryLogHandler"]),

// Target for Swift 5.2
.target(name: "BestExampleApp", dependencies: [
    .product(name: "SentryLogHandler", package: "swift-log-sentry")
],

License

This library is released under the MIT license. See LICENSE for details.

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

Last updated: Thu Oct 17 2024 17:51:45 GMT-0900 (Hawaii-Aleutian Daylight Time)