WWLog

main

This is a good helper for iOS engineer Debug.
William-Weng/WWLog

WWLog

Swift-5.6 iOS-14.0 Swift Package Manager-SUCCESS LICENSE

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

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

Function - 可用函式

函式 功能
configure(with:level:backgroundColor:) 設定一些初始值
log(_:) 印出Log文字

Example

import UIKit
import WWLog

final class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        _ = WWLog.shared
    }
    
    @IBAction func printLog(_ sender: UIBarButtonItem) {
        WWLog.shared.log("列印文字")
    }
}

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 16:39:04 GMT-0900 (Hawaii-Aleutian Daylight Time)