Warning logs and adds a trace event if channelz is on.
(l grpclog.DepthLoggerV2, e Entity, args ...any)
| 44 | |
| 45 | // Warning logs and adds a trace event if channelz is on. |
| 46 | func Warning(l grpclog.DepthLoggerV2, e Entity, args ...any) { |
| 47 | AddTraceEvent(l, e, 1, &TraceEvent{ |
| 48 | Desc: fmt.Sprint(args...), |
| 49 | Severity: CtWarning, |
| 50 | }) |
| 51 | } |
| 52 | |
| 53 | // Warningf logs and adds a trace event if channelz is on. |
| 54 | func Warningf(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) { |
nothing calls this directly
no test coverage detected