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. |
7 years ago |
Anton Kaliaev |
761b1553aa
|
[log] allow filtering with fields | 8 years ago |
Anton Kaliaev |
dd3e433d32
|
[log] NewFilterByLevel returns an error | 8 years ago |
Anton Kaliaev |
3007668274
|
[log] add NewFilterByLevel helper func | 8 years ago |
Anton Kaliaev |
bc6baf6774
|
[log] proper impl of With for filter | 8 years ago |
Anton Kaliaev |
2bf6ebf379
|
filter | 8 years ago |