--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
8
node_modules/redeyed/examples/sources/log.js
generated
vendored
Normal file
8
node_modules/redeyed/examples/sources/log.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// First two lines will be needed when we replaced all console.xxx statements with log.xxx
|
||||
var log = require('npmlog');
|
||||
log.level = 'silly';
|
||||
|
||||
console.info('info ', 1);
|
||||
console.log('log ', 2);
|
||||
console.warn('warn ', 3);
|
||||
console.error('error ', new Error('oh my!'));
|
||||
Loading…
Reference in a new issue