heetch / felice

Felice is a nascent, opinionated Kafka library for Go, in Go
MIT License
20 stars 1 forks source link

Support logging #20

Closed tealeg closed 5 years ago

tealeg commented 5 years ago

Follow on work from https://github.com/heetch/felice/pull/18

This branch adds a logging facility to Felice that emulates what is done in sarama, but doesn't influence sarama's own logging.

By default we discard logs, but a programmer utilising felice can choose to set a new logger that supports the interface of Go's own log package and logs will then be output there.

I wil document this more fully in the documentation branch.