MCPcopy Create free account
hub / github.com/foxcpp/maddy / Printf

Method Printf

framework/log/log.go:79–81  ·  view source on GitHub ↗
(format string, val ...interface{})

Source from the content-addressed store, hash-verified

77}
78
79func (l *Logger) Printf(format string, val ...interface{}) {
80 l.log(false, l.formatMsg(fmt.Sprintf(format, val...), nil))
81}
82
83func (l *Logger) Println(val ...interface{}) {
84 l.log(false, l.formatMsg(strings.TrimRight(fmt.Sprintln(val...), "\n"), nil))

Callers 2

PrintfFunction · 0.45
tokenizeFunction · 0.45

Calls 2

logMethod · 0.95
formatMsgMethod · 0.95

Tested by 1

tokenizeFunction · 0.36