Mainflux.mainflux/logger
Aleksandar Novaković 88b30626dd MF-174 - Add logger interface and go-kit logger implementation (#212)
* Add logger interface and go-kit logger implementation

Add wrapper logger interface and wrap go-kit logger in it. Add
tests for info, warn, error and log methods. Add log filtering by
level.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Refactor logger and replace go-kit logger with wrapper

Replace go-kit logger from services with logger wrapper. Refactor
code in logger wrapper. Remove unnecessary subpackage, methods and
log levels.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2018-04-04 10:15:23 +02:00
..
doc.go MF-174 - Add logger interface and go-kit logger implementation (#212) 2018-04-04 10:15:23 +02:00
level.go MF-174 - Add logger interface and go-kit logger implementation (#212) 2018-04-04 10:15:23 +02:00
logger.go MF-174 - Add logger interface and go-kit logger implementation (#212) 2018-04-04 10:15:23 +02:00
logger_test.go MF-174 - Add logger interface and go-kit logger implementation (#212) 2018-04-04 10:15:23 +02:00