CaptureCocoaLumberjack 0.13.0

CaptureCocoaLumberjack 0.13.0

bitdrift 维护。



 
依赖
BitdriftCapture= 0.13.0
CocoaLumberjack~> 3.8
 

  • 作者
  • Bitdrift, Inc.,Rafal Augustyniak 和 Miguel Angel Juárez López

bitdrift 的 Capture SDK

https://docs.bitdrift.io/ | Slack

集成

查阅 官方文档 了解如何在项目中集成此库。

以下代码演示了如何在您的应用中设置 Capture SDK 的示例

import Capture

Logger.configure(
  withAPIKey: "<your-api-key>",
  sessionStrategy: .activityBased()
)

CocoaPods

target 'MyApp' do
  pod 'BitdriftCapture'

  # Optional integration with CocoaLumberjack logging library
  pod 'CaptureCocoaLumberjack'
  # Optional integration with SwiftyBeaver logging library
  pod 'CaptureSwiftyBeaver'
end

Swift 包管理器

.package(url: "https://github.com/bitdriftlabs/capture-ios.git", from: "<version>")

本地开发

使用 Xcode 打开 Package.swift 文件以开始开发。

运行 make test 以运行项目测试。

运行 make format 以运行各种格式化工具和代码检查。