MCPcopy Create free account
hub / github.com/MG-RAST/Shock / Error

Function Error

shock-server/logger/logger.go:43–46  ·  view source on GitHub ↗

Error is a short cut function that uses package initialized logger and error log

(message string)

Source from the content-addressed store, hash-verified

41
42// Error is a short cut function that uses package initialized logger and error log
43func Error(message string) {
44 Log.Error(message)
45 return
46}
47
48func Errorf(format string, a ...interface{}) {
49 Log.Error(fmt.Sprintf(format, a...))

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected