also add log method to null logger

This commit is contained in:
Bruno Windels 2021-02-22 10:48:46 +01:00
parent 417e920ea0
commit 3a8badb3e7

View File

@ -20,6 +20,8 @@ export class NullLogger {
this._item = new NullLogItem(); this._item = new NullLogItem();
} }
log() {}
run(_, callback) { run(_, callback) {
return callback(this._item); return callback(this._item);
} }