Skip to content

matteocrippa/swiftRemoteLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swiftRemoteLogger

[![CI Status](http://img.shields.io/travis/Matteo Crippa/swiftRemoteLogger.svg?style=flat)](https://travis-ci.org/Matteo Crippa/swiftRemoteLogger) Version License Platform

Usage

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

Requirements

Installation

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

pod "swiftRemoteLogger"

You also need swiftRemoteLoggerPhp script to manage to use this.

Usage

 import swiftRemoteLogger

and then

// setup logger endpoint
swiftRemoteLogger.endPoint = "http://localhost/logger.php"
// log something
swiftRemoteLogger.l("test")

Author

Matteo Crippa, github@matteocrippa.it

License

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