summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 14:11:15 -0600
committerJeff Carr <[email protected]>2024-01-07 14:11:15 -0600
commit8e4d24a3d09db5910cb747b9dce61343d95c9cb2 (patch)
treebb5b5bb1e51914f3328f0977145f9b855661a49e /gui.go
parent1208cdeda60bf3d1f97f33b4bb754680e51bbec9 (diff)
starting to watch all the engines run
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui.go b/gui.go
index f7c9b12..4adb38e 100644
--- a/gui.go
+++ b/gui.go
@@ -38,8 +38,8 @@ func debugTab(title string) {
debugger.DebugWindow(me.myGui)
})
- g2.NewButton("dig A & AAAA DNS records", func () {
- log.Println("updateDNS()")
+ g2.NewButton("dig A & AAAA DNS records (updateDNS())", func () {
+ log.Log(CHANGE, "updateDNS() going to run:")
updateDNS()
})
@@ -200,6 +200,7 @@ func statusGrid(n *gui.Node) {
// run everything because something has changed
func updateDNS() {
+ log.Log(CHANGE, "updateDNS() START")
me.digStatus.Update()
me.statusDNS.Update()
@@ -215,5 +216,5 @@ func updateDNS() {
// if your host is test.wit.com, find the NS resource records for wit.com
lookupNS(me.statusOS.GetDomainName())
- log.Println("updateDNS() END")
+ log.Log(CHANGE, "updateDNS() END")
}