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

Function Infof

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

239
240// prints the contents prefixed by a carriage return + blue info text
241func Infof(format string, v ...any) {
242 fmt.Printf("\r%s %s %s: %s", timeColor(timeString()), infoColor("INFO "), stackColor(stackCallerModule(3)), fmt.Sprintf(format, v...))
243}
244
245// prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
246func Infolnf(format string, v ...any) {

Callers 1

mainFunction · 0.92

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected