diff options
| author | Jeff Carr <[email protected]> | 2024-01-08 22:33:18 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-08 22:33:18 -0600 |
| commit | 2b87ba4eaa47febdd9cb2b54515ab0e7945d3c1e (patch) | |
| tree | 574c25324a738c938a33e14600930a8a5d33b2e9 /golang.go | |
| parent | e2e4726ef7de04023e6c15a9ce1474f246e8b978 (diff) | |
go.wit.com/log change
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'golang.go')
| -rw-r--r-- | golang.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
