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

@ -44,7 +44,7 @@ PopupWindow {
function showAt(item, x, y) {
if (!item) {
console.warn("CustomTrayMenu: anchorItem is undefined, won't show menu.")
Logger.warn("TrayMenu", "anchorItem is undefined, won't show menu.")
return
}
anchorItem = item
@ -267,7 +267,7 @@ PopupWindow {
function showAt(item, x, y) {
if (!item) {
console.warn("subMenuComponent: anchorItem is undefined, not showing menu.")
Logger.warn("TrayMenu", "SubComponent anchorItem is undefined, not showing menu.")
return
}
anchorItem = item