diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 20:29:57 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 20:29:57 -0600 |
| commit | 30832551c35db0e398cee43d302e44b0de2e65bc (patch) | |
| tree | a325bb60bc94007433594d55e6f4a23b735cf457 /basicCombobox.go | |
| parent | 85cbd78883c7a79195eecb59be85e962025b9db5 (diff) | |
use log Flags
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'basicCombobox.go')
| -rw-r--r-- | basicCombobox.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basicCombobox.go b/basicCombobox.go index 1b60000..ed1f680 100644 --- a/basicCombobox.go +++ b/basicCombobox.go @@ -43,14 +43,14 @@ func (d *BasicCombobox) Ready() bool { func (d *BasicCombobox) Add(value string) { if ! d.Ready() {return} - log.Println("BasicCombobox.Add() =", value) + log.Log(INFO, "BasicCombobox.Add() =", value) d.d.AddDropdownName(value) return } func (d *BasicCombobox) Set(value string) bool { if ! d.Ready() {return false} - log.Println("BasicCombobox.Set() =", value) + log.Log(INFO, "BasicCombobox.Set() =", value) d.d.SetText(value) d.value = value return true @@ -68,7 +68,7 @@ func NewBasicCombobox(p *gui.Node, name string) *BasicCombobox { d.d = p.NewCombobox("") d.d.Custom = func() { d.value = d.Get() - log.Println("BasicCombobox.Custom() user changed value to =", d.value) + log.Log(INFO, "BasicCombobox.Custom() user changed value to =", d.value) if d.Custom != nil { d.Custom() } |
