technicolor-logger

1.0.0 • Public • Published

technicolor-logger

A pretty logger for console logs in Node.

Usage

var log = require('./index.js');

var config ={
    "loggers": [{
        "name": "console",
        "levels": [
            "INFO",
            "WARN",
            "DEBUG",
            "ERROR",
            "FATAL"
        ],
        "colors": [{
            "level": "INFO",
            "color": "gray"
        }]
    }]
};

log.init(config);

log.info('test');

Should produce: test

Please submit any issues or requests to GitHub issues.

install

npm i technicolor-logger

Downloadsweekly downloads

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability