Small logging refactoring

Most logs are now console.debug
Removed "Omnisearch" prefix in (almost) all logs
Removed timestamp prefix
This commit is contained in:
Simon Cambier
2024-11-09 17:46:48 +01:00
parent 1c98d8b2d7
commit ca3ca3b24b
12 changed files with 76 additions and 83 deletions

View File

@@ -7,7 +7,7 @@ import {
isFileFromDataloom,
isFileImage,
isFilePDF,
logDebug,
logVerbose,
} from './tools/utils'
export class NotesIndexer {
@@ -25,7 +25,7 @@ export class NotesIndexer {
public async refreshIndex(): Promise<void> {
for (const file of this.notesToReindex) {
logDebug('Updating file', file.path)
logVerbose('Updating file', file.path)
await this.plugin.documentsRepository.addDocument(file.path)
}