lognographer

1.1.1 • Public • Published

lognographer

Super simple logger that adds colorizing and beautifying of objects.


Works similarly to Winston and other loggers.

const { logger } = require('lognographer');
...
logger.debug('Super critical message', objectOfLogging);

And to add a time stamp to your log output, just grab loggerTS:

const { loggerTS } = require('lognographer');
...
loggerTS.info('Time sensitive message', objectOfLogging);

Supports two arguments (for now) and warn, info, debug and error log types (yellow, green, blue and red respectively).

Readme

Keywords

Package Sidebar

Install

npm i lognographer

Weekly Downloads

474

Version

1.1.1

License

ISC

Unpacked Size

2.63 kB

Total Files

4

Last publish

Collaborators

  • dbcooper