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

Function Warnlnf

util/log/log.go:306–308  ·  view source on GitHub ↗

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

(format string, v ...any)

Source from the content-addressed store, hash-verified

304
305// prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
306func Warnlnf(format string, v ...any) {
307 fmt.Printf("\r%s %s %s: %s\n\r> ", timeColor(timeString()), warningColor("WARN "), stackColor(stackCallerModule(3)), fmt.Sprintf(format, v...))
308}

Callers

nothing calls this directly

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected