docs: add missing docstrings

This commit is contained in:
decentral1se 2021-12-19 15:46:26 +01:00
parent 5bae262a79
commit 3b7a8e6498
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 0 deletions

View File

@ -7,10 +7,12 @@ import (
"github.com/sirupsen/logrus"
)
// customLeveledLogger is custom logger with logrus baked in
type customLeveledLogger struct {
retryablehttp.Logger
}
// Printf wires up logrus into the custom retryablehttp logger
func (l customLeveledLogger) Printf(msg string, args ...interface{}) {
logrus.Debugf(fmt.Sprintf(msg, args...))
}