loggeur
v1.0.2
Published
An easy-to-use NodeJs package to display stylized messages in the console
Downloads
2
Readme
Loggeur
An easy-to-use NodeJs package to display stylized messages in the console
const loggeur = require('loggeur')
loggeur.done('example', { username: 'user' })
//=> DONE example { username: 'user' }
Installation
npm i loggeur
Usage
const loggeur = require('loggeur')
loggeur.log('example')
//=> > example
loggeur.done('example', { username: 'user' })
//=> DONE example { username: 'user' }
loggeur.success('example')
//=> SUCCESS example
loggeur.info('example', ['element1', 'element2'])
//=> INFO example [ 'element1', 'element2' ]
loggeur.error('example')
//=> ERROR example
loggeur.warn('example', 'example2')
//=> WARN example example2
License
MIT © Rebst