1.0.1 • Published 6 years ago

react-native-smart-log v1.0.1

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

react native master-log

N|Master-Log

Cross Platform React Native - Code Log

Keep a close eye on your code with React-Native-Master-Log. This is a barebones reliable everyday logging library. It does not do fancy things, it does not let you reconfigure appenders or add complex log filtering rules or boil tea (more's the pity), but it does have the all core functionality that you actually use:

N|Master-Log

Get Started

Installation

$ npm install react-native-smart-log

Import

$ import kk from 'react-native-smart-log';

Usage

kk.setFilter('data');
kk.setLogType('resp');
kk.info('hi info', 'information Text');
kk.warn('hi warn', 'warning Text');
kk.error('hi error', 'error Text');
kk.resp('hi response', 'response Object Data');

Log Types

kk.setLogType(logType) | Log Types | Description | | ------ | ------ | | log | General log | | info | Information logs| | warn | Warning logs | | error | Error logs | | resp | Response logs|

setFilter

Filter your keywords with this feature. Just see what you want. Recommended for clean code.

kk.setFilter('data');

How can I contact with you?

E-mail me for any questions! kubilaytural@outlook.com