Error logs and adds a trace event if channelz is on.
(l grpclog.DepthLoggerV2, e Entity, args ...any)
| 60 | |
| 61 | // Error logs and adds a trace event if channelz is on. |
| 62 | func Error(l grpclog.DepthLoggerV2, e Entity, args ...any) { |
| 63 | AddTraceEvent(l, e, 1, &TraceEvent{ |
| 64 | Desc: fmt.Sprint(args...), |
| 65 | Severity: CtError, |
| 66 | }) |
| 67 | } |
| 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) { |
no test coverage detected