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

Function ErrorlnClean

util/log/log.go:258–262  ·  view source on GitHub ↗

prints the contents prefixed by a carriage return + blue info text and suffixed with a new line

(v ...any)

Source from the content-addressed store, hash-verified

256
257// prints the contents prefixed by a carriage return + blue info text and suffixed with a new line
258func ErrorlnClean(v ...any) {
259 fmt.Printf("\r%s %s %s: ", timeColor(timeString()), errorColor("ERROR"), stackColor(stackCallerModule(3)))
260 fmt.Print(v...)
261 fmt.Println("\r")
262}
263
264// prints the contents prefixed by a carriage return + blue info text
265func Error(v ...any) {

Callers

nothing calls this directly

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected