diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 19:33:41 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 19:33:41 -0600 |
| commit | 8f34aa62f2b81d0dc90c93bf248808e799a0b652 (patch) | |
| tree | 511c6f885d06a36915942dd8e0c795397e9109b8 /rr.go | |
| parent | 2ce239c6ce339597e140f645cdcec1e2b303111b (diff) | |
send everything through go.wit.com/log
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'rr.go')
| -rw-r--r-- | rr.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -7,9 +7,9 @@ package cloudflare import ( - "log" "os" + "go.wit.com/log" "go.wit.com/gui/gui" "go.wit.com/gui/gadgets" ) @@ -21,7 +21,7 @@ func init() { func CreateRR(myGui *gui.Node, zone string, zoneID string) { if (CFdialog.cloudflareW != nil) { // skip this if the window has already been created - log.Println("createRR() the cloudflare window already exists") + log.Warn("createRR() the cloudflare window already exists") CFdialog.cloudflareB.Disable() return } @@ -130,7 +130,7 @@ func CreateRR(myGui *gui.Node, zone string, zoneID string) { CFdialog.resultNode.SetText(result) pretty, _ := FormatJSON(result) - log.Println(pretty) + log.Spew(pretty) }) group.NewButton("Update RR doCurl(PUT)", func () { @@ -142,11 +142,10 @@ func CreateRR(myGui *gui.Node, zone string, zoneID string) { CFdialog.resultNode.SetText(result) pretty, _ := FormatJSON(result) - log.Println(pretty) + log.Spew(pretty) }) // CFdialog.saveNode.Disable() - group.Pad() grid.Pad() grid.Expand() |
