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

Function Infolnf

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

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) {
247 fmt.Printf("\r%s %s %s: %s\n\r> ", timeColor(timeString()), infoColor("INFO "), stackColor(stackCallerModule(3)), fmt.Sprintf(format, v...))
248}
249
250// prints the contents prefixed by a carriage return + blue info text and suffixed with a newline and "> "
251func Errorln(v ...any) {

Callers 5

mainFunction · 0.92
NewFunction · 0.92
StartMethod · 0.92
handleNewConnectionMethod · 0.92

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected