log.js 264 B

123456789
  1. // First two lines will be needed when we replaced all console.xxx statements with log.xxx
  2. var log = require('npmlog');
  3. log.level = 'silly';
  4. console.info('info ', 1);
  5. console.log('log ', 2);
  6. console.warn('warn ', 3);
  7. console.error('error ', new Error('oh my!'));