Commit Graph

9 Commits

Author SHA1 Message Date
Anton Kaliaev 65a07b80a3 change logger interface to not return errors (Refs #50)
See https://github.com/go-kit/kit/issues/164 for discussion of why
kitlog returns an error.

```
Package log is designed to be used for more than simple application info/warning/error logging; it's suitable for log-structured data in an e.g. Lambda architecture, where each invocation is important. I agree with you that if we were doing only application logging the error would be more noise than signal. But the scope of the package is larger than that.
```

Since we are doing only application logging and we're not checking
errors, it is safe to get rid them.
2017-09-20 02:49:51 -04:00
Jae Kwon 3a36776d4a Reorder file for grokability 2017-09-10 18:45:20 -07:00
Anton Kaliaev d0cae7b6ed
[log] change helper func 2017-05-16 12:49:23 +02:00
Anton Kaliaev 761b1553aa
[log] allow filtering with fields 2017-05-16 12:48:01 +02:00
Anton Kaliaev dd3e433d32
[log] NewFilterByLevel returns an error 2017-05-13 15:54:11 +02:00
Anton Kaliaev 3007668274
[log] add NewFilterByLevel helper func 2017-05-12 22:59:31 +02:00
Anton Kaliaev bc6baf6774
[log] proper impl of With for filter 2017-05-06 11:21:07 +04:00
Anton Kaliaev f4be75cb1e
remove warn mentions 2017-05-05 21:48:03 +04:00
Anton Kaliaev 2bf6ebf379
filter 2017-05-05 21:48:03 +04:00