JSPM

  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q64199F
  • License ISC

Let's make logs easier!

Package Exports

  • logifys
  • logifys/log.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (logifys) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

LOGIFYS


Installation

pip install logifys

or

npm install logifys

Usage

const log = require('logifys');

log('This is a log message', { font: 'underline', color: 'blue' });

What does it do? Logifys makes logging easier and nicer to look at with its extensive selection of fonts and colors.


Colors:

  • Red,
  • Blue,
  • Green,
  • Yellow,
  • Black,
  • Cyan,
  • Magenta,
  • White

Fonts:

  • Bold,
  • Underline,
  • Italic.

Proof of Concept

const log = require('logifys');

var points = new Array(100);
for (var i = 0; i < 100; i++) {
    points[i] = i + 1; 
}

for (var i = 0; i < points.length; i++) {
    log(points[i], { font: 'bold', color: 'magenta' }); 
}

It will print:

Image