diff options
| author | Maximilian Möhring | 2019-05-15 16:58:56 +0200 |
|---|---|---|
| committer | Maximilian Möhring | 2019-05-15 16:58:56 +0200 |
| commit | c9afd4e8afe6a719b5d930c9baa2699442849fd8 (patch) | |
| tree | 3eb127ab39e8cacabef7c82a264f18ce4b8ee321 /crawler/shops.go | |
| parent | 428ed1c35be88fbfedc1569d6e9692778c89ff25 (diff) | |
| download | alkobote-c9afd4e8afe6a719b5d930c9baa2699442849fd8.tar.gz | |
Improves structured logging. (crawler)
Diffstat (limited to 'crawler/shops.go')
| -rw-r--r-- | crawler/shops.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawler/shops.go b/crawler/shops.go index 95d8c99..656cd1f 100644 --- a/crawler/shops.go +++ b/crawler/shops.go @@ -2,8 +2,6 @@ package main import ( "strings" - - log "github.com/sirupsen/logrus" ) func (app *App) insertShops() error { @@ -134,7 +132,7 @@ func (app *App) getShops() ([]Shop, error) { if err != nil { return []Shop{}, err } - log.Debug("Crawling: " + shop.Name) + shop.Debug("Crawling: " + shop.Name) Shops = append(Shops, shop) } |
