summaryrefslogtreecommitdiff
path: root/debugGolang.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
committerJeff Carr <[email protected]>2024-01-01 15:43:50 -0600
commit4e7bbd89900a733593f0848778103c1cf1a7145d (patch)
tree22cd22124dd3ecba7c2a866b882d39aaf790d670 /debugGolang.go
parent53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff)
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugGolang.go')
-rw-r--r--debugGolang.go4
1 files changed, 2 insertions, 2 deletions
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)
}
}