0.0.2 • Published 9 years ago

simple-logger-colored v0.0.2

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

Simple Logger

A small library providing utility methods to log to the server console, with the option to enable/disable them easily.

Installation

npm install simple-logger-colored --save

Usage

var logger = require('simple-logger')({ enabled : true });

logger.log("This will be logged normally");

logger.info("This will be blue");

logger.warn("This will be yellow");

logger.error("This will be red");

Tests

npm test

Contributing

This is a sample project for testing purposes, for the moment. However, you are welcome to contribute to this project, yo.

Release History

  • 0.0.2 Updated README -- wrong install command, oops!
  • 0.0.1 Initial release