Skip to content

This is simple and basic package that customise the console with coloured text.

Notifications You must be signed in to change notification settings

ashish-nodejs/magic-console-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 Hello test success Error Hello test error Info 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.

About

This is simple and basic package that customise the console with coloured text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published