Prefixed console.logs

This commit is contained in:
Simon Cambier
2022-09-20 12:52:41 +02:00
parent d09dd23bc8
commit 31aab49c54
2 changed files with 5 additions and 5 deletions

View File

@@ -77,10 +77,10 @@ export async function initGlobalSearchIndex(): Promise<void> {
try {
const json = await app.vault.adapter.read(searchIndexFilePath)
minisearchInstance = MiniSearch.loadJSON(json, options)
console.log('MiniSearch index loaded from the file')
console.log('Omnisearch - MiniSearch index loaded from the file')
await loadNotesCache()
} catch (e) {
console.trace('Could not load MiniSearch index from the file')
console.trace('Omnisearch - Could not load MiniSearch index from the file')
console.error(e)
}
}