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

Function Info

internal/channelz/logging.go:30–35  ·  internal/channelz/logging.go::Info

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

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

Source from the content-addressed store, hash-verified

28
29// Info logs and adds a trace event if channelz is on.
30func Info(l grpclog.DepthLoggerV2, e Entity, args ...any) {
31 AddTraceEvent(l, e, 1, &TraceEvent{
32 Desc: fmt.Sprint(args...),
33 Severity: CtInfo,
34 })
35}
36
37// Infof logs and adds a trace event if channelz is on.
38func Infof(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) {

Callers 6

NewServerFunction · 0.92
CloseMethod · 0.92
ServeMethod · 0.92
newHTTP2TransportMethod · 0.92
closeMethod · 0.92
closeMethod · 0.92

Calls 1

AddTraceEventFunction · 0.85

Tested by

no test coverage detected