For example https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/log/zap returns a zap Log with a custom encoder. I can call log.Core() on it, but WrapCore uses the internal core type rather than a zapcore.Core
What I'd like to do is have the controller-runtime log (which is part of kubebuilder among others) wrapped in zapdriver.
Maybe I'm going about this all wrong...
Thanks for the package!
For example https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/log/zap returns a zap Log with a custom encoder. I can call
log.Core()on it, butWrapCoreuses the internalcoretype rather than azapcore.CoreWhat I'd like to do is have the controller-runtime log (which is part of kubebuilder among others) wrapped in zapdriver.
Maybe I'm going about this all wrong...
Thanks for the package!