Open pmalek opened 2 years ago
I can recommend zerolog I used it in a quite big app and liked it
Apart from logrus
being in maintenance mode this issue also tries to capture a higher level problem which is proliferation of different logging packages being used throughout KIC, KGO and other repos (including this one).
There's also a thread on slack and this long standing issue in KIC: https://github.com/Kong/kubernetes-ingress-controller/issues/1893. Ideally we'd pick one interface which would be used throughout all our projects
Other projects (KGO and KIC) use
github.com/go-logr/logr
github.com/go-logr/zapr
hence KTF should use them too.
Moreover, in case of errors, they should be rather returned explicitly to handle by caller than log it directly in this library.
As of now, we're using
logrus
as logging package of choice.As of now it's in maintenance mode.
This issue track an effort to come up with one particular logging package that we can use as a replacement for logrus and use that instead.