go.wit.com/log changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
7ac6f3e85b
commit
363bde5bf2
|
@ -55,8 +55,8 @@ func NewLogFlag(n *gui.Node, lf *log.LogFlag) *LogFlag {
|
||||||
// various timeout settings
|
// various timeout settings
|
||||||
f.c = n.NewCheckbox(f.Name + ": " + f.Desc)
|
f.c = n.NewCheckbox(f.Name + ": " + f.Desc)
|
||||||
f.c.Custom = func() {
|
f.c.Custom = func() {
|
||||||
log.Set(f.Subsystem, f.Name, f.c.B)
|
f.lf.Set(f.c.B)
|
||||||
log.Info("LogFlag.Custom() user changed value to =", log.Get(f.Subsystem, f.Name))
|
log.Info("LogFlag.Custom() user changed value to =", f.lf.Get())
|
||||||
}
|
}
|
||||||
f.c.Set(lf.Get())
|
f.c.Set(lf.Get())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue