TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2018 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✗ |
Maintained by Zhihui Tang.
To run the example project, clone the repo, and run pod install
from the Example directory first.
SwiftMagic is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'SwiftMagic'
# or
# pod 'SwiftMagic', :git => 'https://github.com/zhihuitang/SwiftMagic.git'
import SwiftMagic
...
Logger.level = .info
Logger.showThread = true
Logger.ouput = .deviceConsole
Logger.i("viewDidLoad")
output:
2017-10-14 11:38:34.836740+0200 SwiftMagic_Example[2060:1788178] [ViewController.swift#viewDidLoad()#19]-I: viewDidLoad
Zhihui Tang, [email protected]
SwiftMagic is available under the MIT license. See the LICENSE file for more info.