summaryrefslogtreecommitdiff
path: root/watchdog.go
diff options
context:
space:
mode:
Diffstat (limited to 'watchdog.go')
-rw-r--r--watchdog.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/watchdog.go b/watchdog.go
index 29ac21a..73248dd 100644
--- a/watchdog.go
+++ b/watchdog.go
@@ -1,7 +1,6 @@
package gui
import (
- "log"
"time"
)
@@ -16,7 +15,7 @@ var watchtime time.Duration = 100 // in tenths of seconds
func Watchdog() {
var i = 1
for {
- log.Println("watchdog timer is alive. give me something to do.", i, "debug =", Config.Debug.Debug)
+ log(debugGui, "watchdog timer is alive. give me something to do.", i)
i += 1
time.Sleep(watchtime * time.Second / 10)
}