summaryrefslogtreecommitdiff
path: root/debugGolang.go
diff options
context:
space:
mode:
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)
}
}