diff options
| author | Jeff Carr <[email protected]> | 2024-01-08 22:27:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-08 22:27:17 -0600 |
| commit | 7f587d9c7971b171870f5be901944ed8eee5a79b (patch) | |
| tree | 40337d3263e8848fe44c18bfac63e8282150e36f /main.go | |
| parent | aa41070a98ca244a8657e3f6bce22fffc20ef1d4 (diff) | |
go.wit.com/log Flags change
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,7 +16,7 @@ const Xaxis = 0 // stack things horizontally const Yaxis = 1 // stack things vertically func init() { - log.Log(true, "init() has been run") + log.Log(NOW, "init() has been run") me.counter = 0 me.prefix = "wit" @@ -155,10 +155,10 @@ func (n *Node) StandardClose() { // The window is destroyed and the application exits // TODO: properly exit the plugin since Quit() doesn't do it func StandardExit() { - log.Log(true, "wit/gui Standard Window Exit. running os.Exit()") - log.Log(true, "StandardExit() attempt to exit each toolkit plugin") + log.Log(NOW, "wit/gui Standard Window Exit. running os.Exit()") + log.Log(NOW, "StandardExit() attempt to exit each toolkit plugin") for i, plug := range allPlugins { - log.Log(true, "NewButton()", i, plug) + log.Log(NOW, "NewButton()", i, plug) } log.Exit(0) } |
