piuma-log

Piuma Logging Function

Usage no npm install needed!

<script type="module">
  import piumaLog from 'https://cdn.skypack.dev/piuma-log';
</script>

README

piuma-log

Simple library for logging console with colors

Coding

In your project folder do : npm install piuma-log

In your main file use with : const ll = require('piuma-log')(options);

For see default options : var def = ll.defaults();

Levels

By default all message are printed in INFORMATION level, if first parameter is string and is one of this become :

  • i = INFORMATION
  • e = ERROR
  • w = WARNING
  • d = DEBUG
  • v = VERBOSE

Options

  • breadcam
  • epoch
  • level
  • color
  • area