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

Method Errorln

sugar.go:317–319  ·  view source on GitHub ↗

Errorln logs a message at [ErrorLevel]. Spaces are always added between arguments.

(args ...interface{})

Source from the content-addressed store, hash-verified

315// Errorln logs a message at [ErrorLevel].
316// Spaces are always added between arguments.
317func (s *SugaredLogger) Errorln(args ...interface{}) {
318 s.logln(ErrorLevel, args, nil)
319}
320
321// DPanicln logs a message at [DPanicLevel].
322// In development, the logger then panics. (See [DPanicLevel] for details.)

Callers 2

TestSugarLnLoggingFunction · 0.45

Calls 1

loglnMethod · 0.95

Tested by 2

TestSugarLnLoggingFunction · 0.36