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

Function Printf

util/log/log.go:182–184  ·  view source on GitHub ↗

* Printf prints the content formatted, and prefixed and suffixed with a carriage return. This should be used if raw terminal is enabled, but it works without it aswell */

(format string, v ...any)

Source from the content-addressed store, hash-verified

180This should be used if raw terminal is enabled, but it works without it aswell
181*/
182func Printf(format string, v ...any) (i int, err error) {
183 return fmt.Printf("\r"+format, v...)
184}
185
186/*
187Println prints the content formatted, and prefixed and suffixed with a carriage return with an endline in the end.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected