mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
Add discard method to NullLogItem
This commit is contained in:
parent
72c6172a45
commit
d9bdf1156d
@ -74,6 +74,10 @@ export class NullLogItem implements ILogItem {
|
||||
this.logger = logger;
|
||||
}
|
||||
|
||||
discard(): void {
|
||||
// noop
|
||||
}
|
||||
|
||||
wrap<T>(_: LabelOrValues, callback: LogCallback<T>): T {
|
||||
return this.run(callback);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user