Using a custom logger with colors and timestamp instead of console.xxx

This commit is contained in:
quadbyte 2025-08-16 19:31:22 -04:00
parent 4794477be3
commit e800bc161d
34 changed files with 278 additions and 236 deletions

View file

@ -95,11 +95,11 @@ Singleton {
path: Settings.configDir + "colors.json"
watchChanges: true
onFileChanged: {
console.log("[Colors] Reloading colors from disk")
Logger.log("Colors", "Reloading colors from disk")
reload()
}
onAdapterUpdated: {
console.log("[Colors] Writing colors to disk")
Logger.log("Colors", "Writing colors to disk")
writeAdapter()
}
onLoadFailed: function (error) {