diff options
| author | Maximilian Möhring | 2019-05-15 13:21:54 +0200 |
|---|---|---|
| committer | Maximilian Möhring | 2019-05-15 13:21:54 +0200 |
| commit | a5bd8848db22932c232d7799e68fbc4ea43056d8 (patch) | |
| tree | 8167ea75a2a68e1f47b25eaa0f90c1df15e558e2 /crawler/shop_drankdozijn.go | |
| parent | a2d595423e4270d8e644212021ba70c70df075d9 (diff) | |
| download | alkobote-a5bd8848db22932c232d7799e68fbc4ea43056d8.tar.gz | |
Introduces TRACE log level. (crawler)
Diffstat (limited to 'crawler/shop_drankdozijn.go')
| -rw-r--r-- | crawler/shop_drankdozijn.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crawler/shop_drankdozijn.go b/crawler/shop_drankdozijn.go index 20018af..2383ec2 100644 --- a/crawler/shop_drankdozijn.go +++ b/crawler/shop_drankdozijn.go @@ -166,7 +166,7 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { if "Champagner" == tmp_type { if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type @@ -175,19 +175,19 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { switch W.Spirit_type { case "Cognac": if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type case "Brandy": if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type case "Sherry": if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type @@ -195,28 +195,28 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { retest_type := detect_spirit_type(W.Name) if "Likör" != retest_type && "Verschiedenes" != retest_type { if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + retest_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + retest_type) W.Spirit_type = tmp_type } W.Spirit_type = detect_spirit_type(W.Name) } if "Tequila" == tmp_type { if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type } if "Mezcal" == tmp_type { if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type } if "Baijiu" == tmp_type { if tmp_type != W.Spirit_type { - W.Debug("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) W.Spirit_type = tmp_type } W.Spirit_type = tmp_type |
