woodenlog-practice
v1.0.1
Published
Practice from the PRO MEAN Stack Development Book by Elad Elrom, Publisher: Apress © 2016. Minimalist log node messages module
Downloads
2
Maintainers
Readme
WoodenLog-Practice
Minimalist log node messages module to add colors for console.log for specific type of log. This is a practice project taken from the following book: Pro MEAN Stack Development By: Elad Elrom Publisher: Apress © 2016
Installation
npm install woodenlog-practice --save
Usage
var woodenlog = require('woodenlog-practice');
// woodenlog.configurate(null, 'white', 'green', 'red');
woodenlog.log('just log. So the color should be green by default or whatever is configured using configurate method!');
woodenlog.warn('this is a warning in yellow by default!');
woodenlog.error('this is a error in red by default!');
Tests
npm test
Release History
- 1.0.1 Initial release