forked from mystiq/hydrogen-web
also add log method to null logger
This commit is contained in:
parent
417e920ea0
commit
3a8badb3e7
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue