SwiftMagic 0.1.4

SwiftMagic 0.1.4

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jan 2018
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by Zhihui Tang.



  • By
  • Zhihui Tang




Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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'

Usage

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

Author

Zhihui Tang, [email protected]

License

SwiftMagic is available under the MIT license. See the LICENSE file for more info.