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

Function Errorf

internal/channelz/logging.go:70–75  ·  view source on GitHub ↗

Errorf 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

68
69// Errorf logs and adds a trace event if channelz is on.
70func Errorf(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) {
71 AddTraceEvent(l, e, 1, &TraceEvent{
72 Desc: fmt.Sprintf(format, args...),
73 Severity: CtError,
74 })
75}

Callers 1

startHealthCheckMethod · 0.92

Calls 1

AddTraceEventFunction · 0.85

Tested by

no test coverage detected