1.0.1 • Published 7 years ago

woodenlog-practice v1.0.1

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

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