woodenlog-practice

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i woodenlog-practice

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kdeb