This is a good helper for iOS engineer Debug.
這是一個iOS工程師Debug的好幫手。
dependencies: [
.package(url: "https://github.com/William-Weng/WWLog.git", .upToNextMajor(from: "1.0.0"))
]
import UIKit
import WWLog
final class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
_ = WWLog.shared
}
@IBAction func generalLog(_ sender: UIBarButtonItem) {
WWLog.shared.log("高手專用")
}
@IBAction func detailLog(_ sender: UIBarButtonItem) {
WWLog.shared.log("高高手專用", level: .detail)
}
}
link |
Stars: 0 |
Last commit: 4 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics