Swiftpack.co -  William-Weng/WWLog as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
William-Weng/WWLog
This is a good helper for iOS engineer Debug.
.package(url: "https://github.com/William-Weng/WWLog.git", from: "1.0.0")

WWLog

Swift-5.3 iOS-12.0 Swift Package Manager-SUCCESS LICENSE

This is a good helper for iOS engineer Debug. 這是一個iOS工程師Debug的好幫手。

Installation with Swift Package Manager

dependencies: [
    .package(url: "https://github.com/William-Weng/WWLog.git", .upToNextMajor(from: "1.0.0"))
]

Example

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)
    }
}

GitHub

link
Stars: 0
Last commit: Yesterday

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics