mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
also add log method to null logger
This commit is contained in:
parent
417e920ea0
commit
3a8badb3e7
@ -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 New Issue
Block a user