1.0.2 • Published 7 years ago

aiyo-logger v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

aiyo-logger Build Status

Log Shaa !!! and Aiyo !!! in Node applications

Install

npm install --save-dev aiyo-logger

Usage

var logger = require('aiyo-logger');

someAsyncFunc()
	.then(res => {
		//when you are happy log Shaa !!!
		logger.shaa();
	})
	.catch(err => {
	  //when something goes wrong log Aiyo !!!
		logger.aiyo();
	});

API

logger.shaa('text')

Logs Shaa !!!

text

Type: string

Optional text to be logged

logger.aiyo('text')

Logs Aiyo !!!

text

Type: string

Optional text to be logged

License

MIT © Rajika Imal

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago