2.0.7 • Published 6 years ago
magic-console-logger v2.0.7
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
- Ashish Sharma - Initial work - Ashish Sharma
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.