#184 - Verbose logging

This commit is contained in:
Simon Cambier
2023-03-11 14:43:29 +01:00
parent 58db940b68
commit 24bfb94b71
6 changed files with 61 additions and 28 deletions

View File

@@ -11,6 +11,7 @@ import {
getTagsFromMetadata,
isFileCanvas,
isFilePlaintext,
logDebug,
makeMD5,
removeDiacritics,
} from './tools/utils'
@@ -150,6 +151,7 @@ class CacheManager {
if (this.documents.has(path)) {
return this.documents.get(path)!
}
logDebug('Generating IndexedDocument from', path)
await this.addToLiveCache(path)
return this.documents.get(path)!
}