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

Function Warnf

util/log/log.go:301–303  ·  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

299
300// prints the contents prefixed by a carriage return + blue info text
301func Warnf(format string, v ...any) {
302 fmt.Printf("\r%s %s %s: %s", timeColor(timeString()), warningColor("WARN "), stackColor(stackCallerModule(3)), fmt.Sprintf(format, v...))
303}
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) {

Callers

nothing calls this directly

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected