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.

Readme

Keywords

Package Sidebar

Install

npm i technicolor-logger

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • james.the.nodester
  • vogon_poetry
  • teagan42