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

Function ErrorDepth

grpclog/grpclog.go:165–171  ·  view source on GitHub ↗

ErrorDepth logs to the ERROR log at the specified depth. # Experimental Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

(depth int, args ...any)

Source from the content-addressed store, hash-verified

163// Notice: This API is EXPERIMENTAL and may be changed or removed in a
164// later release.
165func ErrorDepth(depth int, args ...any) {
166 if internal.DepthLoggerV2Impl != nil {
167 internal.DepthLoggerV2Impl.ErrorDepth(depth, args...)
168 } else {
169 internal.LoggerV2Impl.Errorln(args...)
170 }
171}
172
173// FatalDepth logs to the FATAL log at the specified depth.
174//

Callers 2

ErrorfMethod · 0.92
ErrorDepthMethod · 0.85

Calls 2

ErrorDepthMethod · 0.65
ErrorlnMethod · 0.65

Tested by

no test coverage detected