magic-console-logger

2.0.7 • Public • Published

Magic-console-logger

This is simple and basic package. In this we can customise color of console text like success, error and info etc. By this its very easy to distinguish console text.

Installing

Install latest package by command.

npm install magic-console-logger

Running the tests

Here is the example to use this package

const logger = require('magic-console-logger');
logger('success', 'Hello test success');
logger('error', 'Hello test error');
logger('info', 'Hello test info');

It will console

Success In Green color Hello test success Error In Red color Hello test error Info In Skyblue color Hello test info

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Acknowledgments

  • Inspiration : I got this idea when i was working on a project where console logging were difficult to recognise saperatly. So I decided to create small and basic package to console log with customise color. It make easy to read success or error msg in console.

Package Sidebar

Install

npm i magic-console-logger

Weekly Downloads

1

Version

2.0.7

License

ISC

Unpacked Size

2.43 kB

Total Files

3

Last publish

Collaborators

  • ashish__sharma