From 2b87ba4eaa47febdd9cb2b54515ab0e7945d3c1e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 8 Jan 2024 22:33:18 -0600 Subject: go.wit.com/log change Signed-off-by: Jeff Carr --- golang.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'golang.go') diff --git a/golang.go b/golang.go index a76e064..e9cf624 100644 --- a/golang.go +++ b/golang.go @@ -73,7 +73,7 @@ func DebugGolangWindow(p *gui.Node) *gadgets.BasicWindow { var tmp debug.GCStats var out string debug.ReadGCStats(&tmp) - log.Log(true, tmp) + log.Log(INFO, tmp) out += fmt.Sprintln("LastGC:", tmp.LastGC, "// time.Time time of last collection") out += fmt.Sprintln("NumGC:", tmp.NumGC, "// number of garbage collections") out += fmt.Sprintln("PauseTotal:", tmp.PauseTotal, "// total pause for all collections") @@ -125,7 +125,7 @@ func DebugGolangWindow(p *gui.Node) *gadgets.BasicWindow { og = w.Box().NewGroup("output").Pad() outputTextbox = og.NewTextbox("outputBox") outputTextbox.Custom = func () { - log.Log(true, "custom TextBox() for golang output a =", outputTextbox.S) + log.Log(INFO, "custom TextBox() for golang output a =", outputTextbox.S) } return w -- cgit v1.2.3