trace get
This commit is contained in:
parent
4669054af8
commit
6e8d3e5bce
|
|
@ -197,9 +197,15 @@ export class NoteManager {
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}));
|
}));
|
||||||
if (this.isDebuggerEnabled) console.log('NoteManager: get note (new)', id, this.notesComputed.get(id));
|
if (this.isDebuggerEnabled) {
|
||||||
|
console.log('NoteManager: get note (new)', id, this.notesComputed.get(id));
|
||||||
|
console.trace();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (this.isDebuggerEnabled) console.log('NoteManager: get note (cached)', id, this.notesComputed.get(id), this.notesSource.value.get(id));
|
if (this.isDebuggerEnabled) {
|
||||||
|
console.log('NoteManager: get note (cached)', id, this.notesComputed.get(id), this.notesSource.value.get(id));
|
||||||
|
console.trace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return this.notesComputed.get(id)!;
|
return this.notesComputed.get(id)!;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue