colorful-logs
This is a simple node module for overriding console
method which in this way changes to format as seen in the example in below
Install
By just simply following npm default installation
npm install colorful-logs
Usage
Usage is simple and fairly straight forward as it overrides console methods
require colorful-logs
into script...
;
...then simply use console log methods like this:
console;//Colored White just added timestampconsole;//Colored Yellowconsole;//Colored Blueconsole;//Custom added method based on log() method - Colored greenconsole;
...Which will result in this format: