chore: update adding dep instructions
A Sentry logging backend for SwiftLog, it works by creating and adding a Breadcrumb for log events.
Before using the logger you need to initialize the Sentry SDK.
SwiftLogSentry is designed for Swift 5. To use the handler, you need to declare your dependency in your Package.swift:
SwiftLogSentry
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:
"SentryLogHandler"
dependencies
.target(name: "BestExampleApp", dependencies: [ .product(name: "SentryLogHandler", package: "swift-log-sentry") ],
This library is released under the MIT license. See LICENSE for details.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
SwiftLogSentry
A Sentry logging backend for SwiftLog, it works by creating and adding a Breadcrumb for log events.
Features
Getting started
Before using the logger you need to initialize the Sentry SDK.
Adding the dependency
SwiftLogSentryis designed for Swift 5. To use the handler, you need to declare your dependency in yourPackage.swift:and to your application/library target, add
"SentryLogHandler"to yourdependencies, e.g. like this:License
This library is released under the MIT license. See LICENSE for details.