Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Latest commit

 

History

History
55 lines (43 loc) · 1.38 KB

README.md

File metadata and controls

55 lines (43 loc) · 1.38 KB

LIHLogManager

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

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.