summaryrefslogtreecommitdiff
path: root/rr.go
diff options
context:
space:
mode:
Diffstat (limited to 'rr.go')
-rw-r--r--rr.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/rr.go b/rr.go
index eae552a..6ee11f2 100644
--- a/rr.go
+++ b/rr.go
@@ -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()