MCPcopy
hub / github.com/grpc/grpc-go / Infof

Function Infof

internal/channelz/logging.go:38–43  ·  view source on GitHub ↗

Infof logs and adds a trace event if channelz is on.

(l grpclog.DepthLoggerV2, e Entity, format string, args ...any)

Source from the content-addressed store, hash-verified

36
37// Infof logs and adds a trace event if channelz is on.
38func Infof(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) {
39 AddTraceEvent(l, e, 1, &TraceEvent{
40 Desc: fmt.Sprintf(format, args...),
41 Severity: CtInfo,
42 })
43}
44
45// Warning logs and adds a trace event if channelz is on.
46func Warning(l grpclog.DepthLoggerV2, e Entity, args ...any) {

Callers 13

addChannelzTraceEventMethod · 0.92
shouldRetryMethod · 0.92
NewClientFunction · 0.92
updateStateMethod · 0.92
updateAddrsMethod · 0.92
tryAllAddrsMethod · 0.92
updateClientConnStateMethod · 0.92
successRateAlgorithmMethod · 0.92
ejectEndpointMethod · 0.92

Calls 1

AddTraceEventFunction · 0.85

Tested by

no test coverage detected