1.0.3 • Published 6 years ago

pint-sized-logger v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Pint Sized Logger

A pint-sized logger for Node.js and javascript.

  • colorizes output
  • detects arrays and objects
  • respects LOG_LEVEL environment variable
  • infinitesimally small - fits in the palm of you hand
process.env.LOG_LEVEL = 'trace'; // or require('dotenv').config();

const logger = require('pint-sized-logger');

logger.error('Oooooooh snap an error!'); 

logger.warn('Aaaaw shux, a warning'); 

logger.info('Well gee, it\'s info'); 

logger.trace('Neato, a trace'); 

alt text

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago