mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 02:23:23 +00:00
Using a custom logger with colors and timestamp instead of console.xxx
This commit is contained in:
@@ -202,7 +202,7 @@ NLoader {
|
||||
label: "Label"
|
||||
description: "Description"
|
||||
onToggled: checked => {
|
||||
console.log("[DemoPanel] NToggle:", checked)
|
||||
Logger.log("DemoPanel", "NToggle:", checked)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@ NLoader {
|
||||
}
|
||||
currentKey: "dog"
|
||||
onSelected: function (key) {
|
||||
console.log("[DemoPanel] NComboBox: selected ", key)
|
||||
Logger.log("DemoPanel", "NComboBox: selected ", key)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user