tinylog

0.1.1 • Public • Published
npm install tinylog

Transform the NodeJS console object into a colored logger system for the CLI.

Example

if(colored_console)	require('tinylog');

console.log('Nikta');
console.warn('Oktoberfest');
console.error('Medic');

Will output in the console:

2012-10-02T19:07:40.770Z INFO Nikta
2012-10-02T19:07:40.771Z WARN Oktoberfest
2012-10-02T19:07:40.772Z ERRO Medic

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tinylog

    Weekly Downloads

    5

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • moechofe