[client/config/logger/test] added test to ensure stream log could be configured

This commit is contained in:
spalger
2016-04-05 08:56:26 -07:00
parent e32a460ad0
commit a55ed2f2ba
3 changed files with 76 additions and 46 deletions

View File

@ -57,7 +57,7 @@ Log.loggers = require('./loggers');
Log.prototype.close = function () {
this.emit('closing');
if (this.listenerCount()) {
console.error('Something is still listening for log events, but the logger is closing.');
console.error('Something is still listening for log events, but the logger is closing.'); // eslint-disable-line no-console
this.clearAllListeners();
}
};