silk-log

1.14.5 • Public • Published

Common conventions around using the debug module for logging.

Usage:

const log = require('silk-log')('coolfeature');
 
log.verbose('useless');
log.debug('assert(1+1=3)');
log.info('hi');
log.warn('tsktsk');
log.error('ono');
log.fatal('sos');

To enable output call the configureLog function or set the DEBUG environment variable,

Readme

Keywords

Package Sidebar

Install

npm i silk-log

Weekly Downloads

10

Version

1.14.5

License

MIT

Last publish

Collaborators

  • lights-of-apollo
  • mvines