log: add Debugf method
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
269c63c661
commit
6bd3b2845b
@ -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...))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user