go.wit.com/log change
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
894f77b3ce
commit
7ac6f3e85b
4
args.go
4
args.go
|
@ -6,11 +6,11 @@ import (
|
|||
"go.wit.com/log"
|
||||
)
|
||||
|
||||
var INFO log.LogFlag
|
||||
var INFO *log.LogFlag
|
||||
|
||||
func init() {
|
||||
full := "go.wit.com/gui/gadget"
|
||||
short := "gadgets"
|
||||
|
||||
INFO.NewFlag("INFO", false, full, short, "General Info")
|
||||
INFO = log.NewFlag("INFO", false, full, short, "General Info")
|
||||
}
|
||||
|
|
|
@ -29,6 +29,7 @@ func (d *LogSettings) draw() {
|
|||
|
||||
d.win = gadgets.NewBasicWindow(d.parent, "Debug Flags")
|
||||
g = d.win.Box().NewGroup("Show").Pad()
|
||||
g = g.NewBox("bw vbox", false)
|
||||
d.buttonG = g
|
||||
|
||||
g.NewButton("Redirect STDOUT to /tmp/", func () {
|
||||
|
@ -71,6 +72,7 @@ func (d *LogSettings) draw() {
|
|||
})
|
||||
|
||||
d.flagG = d.win.Box().NewGroup("Subsystem (aka package)")
|
||||
d.flagG = d.flagG.NewBox("bw vbox", false)
|
||||
|
||||
g.NewButton("Add all Flags", func () {
|
||||
flags := log.ShowFlags()
|
||||
|
|
Loading…
Reference in New Issue