logTracker 0.1.6

logTracker 0.1.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Yatheesan.



  • By
  • Yatheesan Chandreswaran

logTracker

Example

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

Installation

logTracker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "logTracker"

Usage

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")

log levels

You can set the log levels using: -TRACE -INFO -DEBUG -WARN -ERROR -SILENT

private var log = Logger.getInstance()
self.log.setLevel(level: .SILENT)

Requirements

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

Communication

  • 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.

Author

Yatheesan Chandreswaran, [email protected]

License

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