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: Mon Sep 19 2022 14:23:54 GMT-0500 (GMT-05:00)