We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c0bdaf commit 4b1d985Copy full SHA for 4b1d985
lib/log.js
@@ -24,7 +24,7 @@ var Log = exports = module.exports = function Log(level, stream){
24
if ('string' == typeof level) level = exports[level.toUpperCase()];
25
this.level = level || exports.DEBUG;
26
this.stream = stream || process.stdout;
27
- if (stream.readable) this.read();
+ if (this.stream.readable) this.read();
28
};
29
30
/**
0 commit comments