no need to dig into internals here

This commit is contained in:
Bruno Windels 2021-11-17 12:54:32 +01:00
parent 276d8d4a42
commit 46dd78162f

View file

@ -52,7 +52,7 @@ export class LogItem implements ILogItem {
This is useful if the referenced operation can't be awaited. */
refDetached(logItem: ILogItem, logLevel?: LogLevel): void {
logItem.ensureRefId();
this.log({ref: (logItem as LogItem)._values.refId}, logLevel);
this.log({ref: logItem.values.refId}, logLevel);
}
ensureRefId(): void {