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
@@ -60,7 +60,7 @@ export class Database extends Dexie {
paths,
data: minisearchJson,
})
console.log('Omnisearch - Search cache written')
console.debug('Omnisearch - Search cache written')
}
/**
@@ -74,7 +74,7 @@ export class Database extends Dexie {
db.version !== Database.dbVersion * 10
)
if (toDelete.length) {
console.log('Omnisearch - Those IndexedDb databases will be deleted:')
console.debug('Omnisearch - Those IndexedDb databases will be deleted:')
for (const db of toDelete) {
if (db.name) {
indexedDB.deleteDatabase(db.name)