log: add Debugf method
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-04-28 22:58:50 +02:00
parent 269c63c661
commit 6bd3b2845b
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -29,6 +29,10 @@ func Init(jsonHandler bool) *Logger {
return logger
}
func (l *Logger) Debugf(msg string, args ...any) {
l.Debug(fmt.Sprintf(msg, args...))
}
func (l *Logger) Infof(msg string, args ...any) {
l.Info(fmt.Sprintf(msg, args...))
}