Add discard method to NullLogItem

This commit is contained in:
RMidhunSuresh 2023-05-03 14:30:51 +05:30
parent 72c6172a45
commit d9bdf1156d

View File

@ -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);
}