0.0.2 • Published 9 years ago

nodejs-log v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

nodejs-log

Very Simple Colorful Console Logging

Install

  npm install nodejs-log

Examples:

var Logger = require('../logger.js');

// Show Level warn, error or info
Logger.debugLevel = 'info';

// Result: [info] This is my Message!
Logger.warn('This is my Message!');

// Result: [error] [Test] This is my Message!
Logger.error('This is my Message!', 'Test');

// Result: [info] This is my Message!
Logger.info('This is my Message!');

// Result: [debug] [Test] This is my Message!
Logger.debug('This is my Message!', 'Test');

The MIT License (MIT)