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

Method errorf

server.go:748–752  ·  view source on GitHub ↗

errorf records an error in s's event log, unless s has been stopped. REQUIRES s.mu is held.

(format string, a ...any)

Source from the content-addressed store, hash-verified

746// errorf records an error in s's event log, unless s has been stopped.
747// REQUIRES s.mu is held.
748func (s *Server) errorf(format string, a ...any) {
749 if s.events != nil {
750 s.events.Errorf(format, a...)
751 }
752}
753
754// ServiceRegistrar wraps a single method that supports service registration. It
755// enables users to pass concrete types other than grpc.Server to the service

Callers 1

newHTTP2TransportMethod · 0.95

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected