Logger: huge cleanup

This commit is contained in:
lysec
2025-10-16 15:07:11 +02:00
parent fca8d7a10e
commit 838491ba33
67 changed files with 372 additions and 376 deletions
+3 -3
View File
@@ -301,7 +301,7 @@ Singleton {
adapter.notifications = items
historyFileView.writeAdapter()
} catch (e) {
Logger.error("Notifications", "Save history failed:", e)
Logger.e("Notifications", "Save history failed:", e)
}
}
@@ -331,7 +331,7 @@ Singleton {
})
}
} catch (e) {
Logger.error("Notifications", "Load failed:", e)
Logger.e("Notifications", "Load failed:", e)
}
}
@@ -461,7 +461,7 @@ Singleton {
try {
Quickshell.execDetached(["sh", "-c", `rm -rf "${Settings.cacheDirImagesNotifications}"*`])
} catch (e) {
Logger.error("Notifications", "Failed to clear cache directory:", e)
Logger.e("Notifications", "Failed to clear cache directory:", e)
}
historyList.clear()