MCPcopy
hub / github.com/op/go-logging / Error

Method Error

logger.go:208–210  ·  view source on GitHub ↗

Error logs a message using ERROR as log level.

(args ...interface{})

Source from the content-addressed store, hash-verified

206
207// Error logs a message using ERROR as log level.
208func (l *Logger) Error(args ...interface{}) {
209 l.log(ERROR, nil, args...)
210}
211
212// Errorf logs a message using ERROR as log level.
213func (l *Logger) Errorf(format string, args ...interface{}) {

Callers 5

TestPrivateBackendFunction · 0.80
MustGetLoggerFunction · 0.80
ExampleFunction · 0.80
MustStringFormatterFunction · 0.80
mainFunction · 0.80

Calls 1

logMethod · 0.95

Tested by 2

TestPrivateBackendFunction · 0.64
ExampleFunction · 0.64