use go-logr context functions #1275
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
go-logr 0.3.0 added support for storing and retrieving a logger in a context: https://github.com/go-logr/logr/blob/4fa77cb7175ca349567983fd9cc9fd94462f41fa/logr.go#L197-L222
It would be good to implement
controller-runtime/pkg/log/log.go
Lines 56 to 73 in f3831c2
As it stands now, the loggers are different because the context keys are different.
The text was updated successfully, but these errors were encountered: