We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58d7ff2 + 3a1361a commit 8b2f3abCopy full SHA for 8b2f3ab
logger/logger.go
@@ -16,6 +16,7 @@ type Handler interface {
16
Info(description ...interface{})
17
Infof(format string, args ...interface{})
18
Debug(description ...interface{})
19
+ Debugf(format string, args ...interface{})
20
Warn(err error)
21
Warnf(format string, args ...interface{})
22
Error(err error)
@@ -127,4 +128,8 @@ func (l *Logger) Infof(format string, args ...interface{}) {
127
128
129
func (l *Logger) Warnf(format string, args ...interface{}) {
130
l.handler.Log(logrus.WarnLevel, fmt.Sprintf(format, args...))
131
+}
132
+
133
+func (l *Logger) Debugf(format string, args ...interface{}) {
134
+ l.handler.Log(logrus.DebugLevel, fmt.Sprintf(format, args...))
135
}
0 commit comments