woodenlog2

Minimalist log node messages module

Usage no npm install needed!

<script type="module">
  import woodenlog2 from 'https://cdn.skypack.dev/woodenlog2';
</script>

README

WoodenLog

Minimalist log node messages module to add colors for console.log for specific type of log.

Installation

  npm install woodenlog --save

Usage

var woodenlog = require('woodenlog');
// woodenlog.configurate(null, 'white', 'green', 'red');

woodenlog.log('just log!');
woodenlog.warn('this is a warning!');
woodenlog.error('this is an error!');

Tests

   npm test

Release History

  • 1.0.0 Initial release