Expose the underlying zap logger #301
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
I have a following use case: i'm writing an app which exposes some kubernetes suff over grpc. The grpc part of the application already has zap integration and just expects a zap logger passed in. I would like to pass the logger configured by the controller-runtime becuse it's deals nicely with kubernetes objects already but that's not exposed.
I would propose to add an option to
Logger
andLoggerTo
which sets zap default loggers or expose the underlying zap logger.The text was updated successfully, but these errors were encountered: