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

Function Infoln

util/log/log.go:214–218  ·  view source on GitHub ↗

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

(v ...any)

Source from the content-addressed store, hash-verified

212
213// prints the contents prefixed by a carriage return + time, blue info text and suffixed with a newline and "> "
214func Infoln(v ...any) {
215 fmt.Printf("\r%s %s %s: ", timeColor(timeString()), infoColor("INFO "), stackColor(stackCallerModule(3)))
216 fmt.Println(v...)
217 fmt.Print("\r> ")
218}
219
220// prints the contents prefixed by a carriage return + blue info text and suffixed with a new line
221func InfolnClean(v ...any) {

Callers 4

mainFunction · 0.92
StartMethod · 0.92
SaveMethod · 0.92
SaveMethod · 0.92

Calls 2

timeStringFunction · 0.85
stackCallerModuleFunction · 0.85

Tested by

no test coverage detected