MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Errorf

Function Errorf

util/log/log.go:271–273  ·  view source on GitHub ↗

prints the contents prefixed by a carriage return + blue info text

(format string, v ...any)

Source from the content-addressed store, hash-verified

269
270// prints the contents prefixed by a carriage return + blue info text
271func Errorf(format string, v ...any) {
272 fmt.Printf("\r%s %s %s: %s", timeColor(timeString()), errorColor("ERROR"), stackColor(stackCallerModule(3)), fmt.Sprintf(format, v...))
273}
274
275// prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
276func Errorlnf(format string, v ...any) {

Callers

nothing calls this directly

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected