summaryrefslogtreecommitdiff
path: root/golang.go
diff options
context:
space:
mode:
Diffstat (limited to 'golang.go')
-rw-r--r--golang.go4
1 files changed, 2 insertions, 2 deletions
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