MCPcopy Index your code
hub / github.com/foxcpp/maddy / Debugln

Method Debugln

framework/log/log.go:72–77  ·  view source on GitHub ↗
(val ...interface{})

Source from the content-addressed store, hash-verified

70}
71
72func (l *Logger) Debugln(val ...interface{}) {
73 if !l.IsDebug() {
74 return
75 }
76 l.log(true, l.formatMsg(strings.TrimRight(fmt.Sprintln(val...), "\n"), nil))
77}
78
79func (l *Logger) Printf(format string, val ...interface{}) {
80 l.log(false, l.formatMsg(fmt.Sprintf(format, val...), nil))

Callers 7

DebuglnFunction · 0.80
AuthPlainMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
AddRcptMethod · 0.80
reloadTickerMethod · 0.80
runMethod · 0.80

Calls 3

IsDebugMethod · 0.95
logMethod · 0.95
formatMsgMethod · 0.95

Tested by

no test coverage detected