simple-logger-colored
v0.0.2
Published
Simple wrapper for outputting to the console, with a global switch for production mode apps and other controls.
Downloads
10
Maintainers
Readme
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