SetLogSink replaces the global Logger with sink. Before this is called, the global Logger is a no-op.
(sink logr.LogSink)
| 22 | // SetLogSink replaces the global Logger with sink. Before this is called, |
| 23 | // the global Logger is a no-op. |
| 24 | func SetLogSink(sink logr.LogSink) { global = logr.New(sink) } |
| 25 | |
| 26 | // NewContext returns a copy of ctx containing logger. Retrieve it using FromContext. |
| 27 | func NewContext(ctx context.Context, logger Logger) context.Context { |
no outgoing calls