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
+2 -2
View File
@@ -9,7 +9,7 @@ import {
isFileImage,
isFileOffice,
isFilePDF,
logDebug,
logVerbose,
removeDiacritics,
stripMarkdownCharacters,
} from '../tools/utils'
@@ -65,7 +65,7 @@ export class DocumentsRepository {
if (this.documents.has(path)) {
return this.documents.get(path)!
}
logDebug('Generating IndexedDocument from', path)
logVerbose('Generating IndexedDocument from', path)
await this.addDocument(path)
return this.documents.get(path)!
}