aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/html_container.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-31 19:56:05 +0800
committerobscuren <geffobscura@gmail.com>2014-10-31 19:56:05 +0800
commitb1c247231b11f313ca0eedff75ea563926d23f68 (patch)
tree48b2136cb65e69cb79ffac80f3cc3fdf9dba1cc8 /cmd/mist/html_container.go
parentfd9da72536b73351bbcdc1e9dbbbb8c0e4bfb21b (diff)
downloaddexon-b1c247231b11f313ca0eedff75ea563926d23f68.tar
dexon-b1c247231b11f313ca0eedff75ea563926d23f68.tar.gz
dexon-b1c247231b11f313ca0eedff75ea563926d23f68.tar.bz2
dexon-b1c247231b11f313ca0eedff75ea563926d23f68.tar.lz
dexon-b1c247231b11f313ca0eedff75ea563926d23f68.tar.xz
dexon-b1c247231b11f313ca0eedff75ea563926d23f68.tar.zst
dexon-b1c247231b11f313ca0eedff75ea563926d23f68.zip
ethlog => logger
Diffstat (limited to 'cmd/mist/html_container.go')
-rw-r--r--cmd/mist/html_container.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/mist/html_container.go b/cmd/mist/html_container.go
index 96bae1a9a..755d5ea6e 100644
--- a/cmd/mist/html_container.go
+++ b/cmd/mist/html_container.go
@@ -98,12 +98,12 @@ func (app *HtmlApplication) NewWatcher(quitChan chan bool) {
app.watcher, err = fsnotify.NewWatcher()
if err != nil {
- logger.Infoln("Could not create new auto-reload watcher:", err)
+ guilogger.Infoln("Could not create new auto-reload watcher:", err)
return
}
err = app.watcher.Watch(app.RootFolder())
if err != nil {
- logger.Infoln("Could not start auto-reload watcher:", err)
+ guilogger.Infoln("Could not start auto-reload watcher:", err)
return
}
for _, folder := range app.RecursiveFolders() {
@@ -119,11 +119,11 @@ func (app *HtmlApplication) NewWatcher(quitChan chan bool) {
app.watcher.Close()
break out
case <-app.watcher.Event:
- //logger.Debugln("Got event:", ev)
+ //guilogger.Debugln("Got event:", ev)
app.webView.Call("reload")
case err := <-app.watcher.Error:
// TODO: Do something here
- logger.Infoln("Watcher error:", err)
+ guilogger.Infoln("Watcher error:", err)
}
}
}()