MCPcopy
hub / github.com/uber-go/zap / Errorln

Method Errorln

zapgrpc/zapgrpc.go:208–212  ·  view source on GitHub ↗

Errorln implements grpclog.LoggerV2.

(args ...interface{})

Source from the content-addressed store, hash-verified

206
207// Errorln implements grpclog.LoggerV2.
208func (l *Logger) Errorln(args ...interface{}) {
209 if l.levelEnabler.Enabled(zapcore.ErrorLevel) {
210 l.delegate.Error(sprintln(args))
211 }
212}
213
214// Errorf implements grpclog.LoggerV2.
215func (l *Logger) Errorf(format string, args ...interface{}) {

Callers 1

TestLoggerErrorExpectedFunction · 0.45

Calls 3

sprintlnFunction · 0.85
EnabledMethod · 0.65
ErrorMethod · 0.45

Tested by 1

TestLoggerErrorExpectedFunction · 0.36