From 4e7bbd89900a733593f0848778103c1cf1a7145d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 1 Jan 2024 15:43:50 -0600 Subject: reorg to final resting place at go.wit.com/gui/gui Signed-off-by: Jeff Carr --- debugGolang.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debugGolang.go') diff --git a/debugGolang.go b/debugGolang.go index fb1fb07..5b0d22c 100644 --- a/debugGolang.go +++ b/debugGolang.go @@ -69,7 +69,7 @@ func (n *Node) DebugGolangWindow() { var tmp debug.GCStats var out string debug.ReadGCStats(&tmp) - log(tmp) + log(true, 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") @@ -121,7 +121,7 @@ func (n *Node) DebugGolangWindow() { og = w.NewGroup("output") outputTextbox = og.NewTextbox("outputBox") outputTextbox.Custom = func () { - log("custom TextBox() for golang output a =", outputTextbox.S, outputTextbox.id) + log(true, "custom TextBox() for golang output a =", outputTextbox.S, outputTextbox.id) } } -- cgit v1.2.3