SwiftLog
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Log.log("Message text")
Log.my.log("Message text")
Log.network.log("Message text")
Log.ui.log("Message text")
Log.ui.log(tag: "TAG", "Message text")
Log.ui.log(tag: "TAG", "Message text", .success)
Log.ui.log(tag: "TAG", "Message text", .error, style: .full)
Add your categoryes
extension Log {
static let my = Log(category: "MYCATEGORY")
}
Installation
SwiftLog is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'SwiftLog', :git => 'https://github.com/andrewfirsenko/SwiftLog.git'
Author
Andrew Firsenko, [email protected]
License
SwiftLog is available under the MIT license. See the LICENSE file for more info.