diff options
| author | horus | 2018-02-16 16:57:10 +0100 |
|---|---|---|
| committer | horus | 2018-02-16 16:57:39 +0100 |
| commit | ed6ab4da59f80bf9fa2cbf15da5c9167dff44ea4 (patch) | |
| tree | 1038ab5d9b2a0b9bde5ee021624fa87422b705f8 /crawler/shops.go | |
| parent | b131ce750740ddb9c47515727327c06aa0d22aad (diff) | |
| download | alkobote-ed6ab4da59f80bf9fa2cbf15da5c9167dff44ea4.tar.gz | |
Adds structured logging. (crawler)
Diffstat (limited to 'crawler/shops.go')
| -rw-r--r-- | crawler/shops.go | 4 |
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) |
