TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Mar 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Yatheesan.
To run the example project, clone the repo, and run pod install
from the Example directory first.
logTracker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "logTracker"
If you installed using CocoaPods or manually:
import logTracker
private var log = Logger.getInstance()
self.log.setLevel(level: .SILENT)
self.log.debug(message: "Debug message")
self.log.error(message: "Error message")
self.log.info(message: "Info message")
self.log.trace(message: "Trace message")
self.log.warning(message: "Warning message")
You can set the log levels using: -TRACE -INFO -DEBUG -WARN -ERROR -SILENT
private var log = Logger.getInstance()
self.log.setLevel(level: .SILENT)
The current version of logTracker requires:
Yatheesan Chandreswaran, [email protected]
logTracker is available under the MIT license. See the LICENSE file for more info.