Errorf logs and adds a trace event if channelz is on.
(l grpclog.DepthLoggerV2, e Entity, format string, args ...any)
| 68 | |
| 69 | // Errorf logs and adds a trace event if channelz is on. |
| 70 | func 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 | } |
no test coverage detected