A simple, smart logger.
To install HexaLogger, run the command below in a command prompt open where you want your project to be.
npm i hexalogger --save
Then, in your file, make sure you define HexaLogger. In this case, we're calling it 'log'
const log = require('hexalogger');
Currently, HexaLogger has three functions. Info, error and success.
For info, you do this.
log.info('Content here');
For error, you do this.
log.error('Content here');
For success, you do this.
log.success('Content here');
For warn, you do this.
log.warn('Content here');
And for ascii text, you do this.
log.ascii('Content here');
So now you have this.
const log = require('hexalogger');
log.info('Content here');
log.error('Content here');
log.success('Content here');
log.warn('Content here');
log.ascii('Content here');