summaryrefslogtreecommitdiff
path: root/crawler/shops.go
diff options
context:
space:
mode:
authorhorus2018-02-16 16:57:10 +0100
committerhorus2018-02-16 16:57:39 +0100
commited6ab4da59f80bf9fa2cbf15da5c9167dff44ea4 (patch)
tree1038ab5d9b2a0b9bde5ee021624fa87422b705f8 /crawler/shops.go
parentb131ce750740ddb9c47515727327c06aa0d22aad (diff)
downloadalkobote-ed6ab4da59f80bf9fa2cbf15da5c9167dff44ea4.tar.gz
Adds structured logging. (crawler)
Diffstat (limited to 'crawler/shops.go')
-rw-r--r--crawler/shops.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawler/shops.go b/crawler/shops.go
index 9cad602..8cfd9f4 100644
--- a/crawler/shops.go
+++ b/crawler/shops.go
@@ -1,7 +1,7 @@
package main
import (
- "log"
+ log "github.com/Sirupsen/logrus"
)
func (app *App) insertShops() error {
@@ -112,7 +112,7 @@ func (app *App) getShops() ([]Shop, error) {
return []Shop{}, err
}
if app.Config.Debug {
- log.Println("Appending: " + shop.Name)
+ log.Println("Crawling: " + shop.Name)
}
Shops = append(Shops, shop)