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

Function Error

util/log/log.go:265–268  ·  view source on GitHub ↗

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

(v ...any)

Source from the content-addressed store, hash-verified

263
264// prints the contents prefixed by a carriage return + blue info text
265func Error(v ...any) {
266 fmt.Printf("\r%s %s %s: ", timeColor(timeString()), errorColor("ERROR"), stackColor(stackCallerModule(3)))
267 fmt.Print(v...)
268}
269
270// prints the contents prefixed by a carriage return + blue info text
271func Errorf(format string, v ...any) {

Callers

nothing calls this directly

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected