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

Function Errorln

util/log/log.go:251–255  ·  view source on GitHub ↗

prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "

(v ...any)

Source from the content-addressed store, hash-verified

249
250// prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
251func Errorln(v ...any) {
252 fmt.Printf("\r%s %s %s: ", timeColor(timeString()), errorColor("ERROR"), stackColor(stackCallerModule(3)))
253 fmt.Println(v...)
254 fmt.Print("\r> ")
255}
256
257// prints the contents prefixed by a carriage return + blue info text and suffixed with a new line
258func ErrorlnClean(v ...any) {

Callers 2

mainFunction · 0.92
StartMethod · 0.92

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected