LIHLogManager 0.1.2

LIHLogManager 0.1.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2016
SPMSupports SPM

Maintained by Lasith Hettiarachchi.



  • By
  • Lasith Hettiarachchi

LIHLogManager

Usage

import LIHLogManager

Add a record to log

LIHLogManager.addToLog(message, title: title)

Get all records

LIHLogManager.getRecords(nil)

Clear log

This will delete all the records.

LIHLogManager.clearLog()

Get most recent 200 records

LIHLogManager.getRecords(200)

Delete a record

LIHLogManager.deleteRecord(withId: 5)

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

Requirements

iOS 7+

Installation

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

pod "LIHLogManager"

Author

Lasith Hettiarachchi, [email protected]

License

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