We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d63e42 + 010a624 commit 6bcef8aCopy full SHA for 6bcef8a
pkg/log/log.go
@@ -92,7 +92,7 @@ func FromContext(ctx context.Context, keysAndValues ...interface{}) logr.Logger
92
return log.WithValues(keysAndValues...)
93
}
94
95
-// IntoContext takes a context and sets the logger as one of its keys.
+// IntoContext takes a context and sets the logger as one of its values.
96
// Use FromContext function to retrieve the logger.
97
func IntoContext(ctx context.Context, log logr.Logger) context.Context {
98
return logr.NewContext(ctx, log)
0 commit comments