You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Is your feature request related to a problem? Please describe.
k8s.io/klog lacks the ability to redirect logs to another logger except through its SetOutput method, which only accepts an io.Writer. This forces developers to build wrappers around third-party loggers.
k8s.io/klog/v2 improves this with its SetLogger method, which accepts a loggr.Logger interface. This enables redirection of klog output to any compatible logger, even when used indirectly through dependencies.
Describe the solution you'd like
Update k8s.io/klog to k8s.io/klog/v2 everywhere in this project.
Is your feature request related to a problem? Please describe.
k8s.io/klog lacks the ability to redirect logs to another logger except through its SetOutput method, which only accepts an
io.Writer. This forces developers to build wrappers around third-party loggers.k8s.io/klog/v2 improves this with its SetLogger method, which accepts a
loggr.Loggerinterface. This enables redirection of klog output to any compatible logger, even when used indirectly through dependencies.Describe the solution you'd like
Update k8s.io/klog to k8s.io/klog/v2 everywhere in this project.
Describe alternatives you've considered
No response
Additional context
No response