Commit Graph

10 Commits

Author SHA1 Message Date
Anton Kaliaev 4b989151ed
log logger's errors (Refs #29) 2017-11-06 14:18:42 -05:00
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
Anton Kaliaev ddaa4d9b4c
[log] tracing logger 2017-05-23 23:06:20 +02:00
Anton Kaliaev a5fcc94a3b
[log] allow for custom color funcs 2017-05-14 12:03:45 +02:00
Anton Kaliaev b2a116863c
squash module key if multiple keyvals were provided
last keyvalue wins
2017-05-08 17:30:21 +04:00
Anton Kaliaev 2bf6ebf379
filter 2017-05-05 21:48:03 +04:00
Anton Kaliaev ea01d003d1
changes per @ethanfrey comments 2017-05-05 21:48:03 +04:00
Anton Kaliaev b2bd039923
correct impl of WithLevel 2017-05-05 21:48:03 +04:00
Ethan Buchman 66c9401c07
log: Tm -> TM 2017-05-05 21:43:07 +04:00
Anton Kaliaev ed76afd409
Logger interface and tmLogger impl based on go-kit 2017-05-05 21:43:07 +04:00