1.1.3 • Published 6 years ago

hexalogger v1.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

HexaLogger

A simple, smart logger.

Documentation

Setting it up

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');

Usage

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');

Full example

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');
1.1.3

6 years ago

1.1.2

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago