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

Function WarningDepth

grpclog/grpclog.go:151–157  ·  view source on GitHub ↗

WarningDepth logs to the WARNING 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

149// Notice: This API is EXPERIMENTAL and may be changed or removed in a
150// later release.
151func WarningDepth(depth int, args ...any) {
152 if internal.DepthLoggerV2Impl != nil {
153 internal.DepthLoggerV2Impl.WarningDepth(depth, args...)
154 } else {
155 internal.LoggerV2Impl.Warningln(args...)
156 }
157}
158
159// ErrorDepth logs to the ERROR log at the specified depth.
160//

Callers 3

WarningfMethod · 0.92
TestWarningDepthMethod · 0.92
WarningDepthMethod · 0.85

Calls 2

WarningDepthMethod · 0.65
WarninglnMethod · 0.65

Tested by 1

TestWarningDepthMethod · 0.74