diff --git a/src/notes.ts b/src/notes.ts index e194bee..d0c4937 100644 --- a/src/notes.ts +++ b/src/notes.ts @@ -32,9 +32,9 @@ export async function loadNotesCache(): Promise { try { const json = await app.vault.adapter.read(notesCacheFilePath) notesCache = JSON.parse(json) - console.log('Notes cache loaded from the file') + console.log('Omnisearch - Notes cache loaded from the file') } catch (e) { - console.trace('Could not load Notes cache from the file') + console.trace('Omnisearch - Could not load Notes cache from the file') console.error(e) } } @@ -154,7 +154,7 @@ export function removeAnchors(name: string): string { export async function saveNotesCacheToFile(): Promise { const json = JSON.stringify(notesCache) await app.vault.adapter.write(notesCacheFilePath, json) - console.log('Notes cache saved to the file') + console.log('Omnisearch - Notes cache saved to the file') } export function isCacheOutdated(file: TFile): boolean { diff --git a/src/search.ts b/src/search.ts index fb6ff39..c5dc0b7 100644 --- a/src/search.ts +++ b/src/search.ts @@ -77,10 +77,10 @@ export async function initGlobalSearchIndex(): Promise { 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) } }