Skip to content

Yatheesan/logTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logTracker

CI Status Version License Platform

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, yatheesanc9@gmail.com

License

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

About

logTracker is a simple & powerful & flexible logging framework for iOS - Swift 3.

Resources

License

Stars

Watchers

Forks

Packages

No packages published