debugjs-wrapper
v0.0.3
Published
Wrapper around debug npm module with debug that don't do stderr
Downloads
280
Readme
debug-wrapper
debug-wrapper goal is to avoid logging to stderr by default. Usage you can use it
yarn add debugjs-wrapper
in the code:
const {debug, error, info } = require('debugjs-wrapper').all('namespace:subnamespace');
debug('debug'); //goes to stdout
error('error'); //goes to stderr
info('info'); //goes to stdout