blob: 4aedba38921931465c831075695b966dfd1c529e [file] [log] [blame]
'use strict';
class MockLogger {
constructor()
{
this._logs = [];
}
log(text) { this._logs.push(text); }
error(text) { this._logs.push(text); }
}
if (typeof module != 'undefined')
module.exports.MockLogger = MockLogger;