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 logTrackerprivate 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:
- Xcode 8.1 or later
- Swift 3.0 or later
- iOS 9 or later
- OS X 10.7 or later
- WatchOS 2 or later
- TVOS 9 or later
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Yatheesan Chandreswaran, yatheesanc9@gmail.com
logTracker is available under the MIT license. See the LICENSE file for more info.