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

LIHLogManager is simple to use logger with sqlite database written in Swift which can be used when the debugger is not available (Background actions).

License

Notifications You must be signed in to change notification settings

Lasithih/LIHLogManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, lasithih@yahoo.com

License

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

About

LIHLogManager is simple to use logger with sqlite database written in Swift which can be used when the debugger is not available (Background actions).

Resources

License

Stars

Watchers

Forks

Packages

No packages published