Wondering what’s next for npm?Check out our public roadmap! »

simple-logger-colored

0.0.2 • Public • Published

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

Install

npm i simple-logger-colored

DownloadsWeekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • avatar