fix build, add comments

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-08-09 16:49:04 +03:00
parent aad8a578fc
commit fc9af8c63e
4 changed files with 42 additions and 6 deletions

2
kgo.go
View File

@@ -289,7 +289,7 @@ func (l *mlogger) Log(lvl kgo.LogLevel, msg string, args ...interface{}) {
default:
return
}
l.l.Fields(l.ctx, mlvl, msg, args...)
l.l.Fields(args...).Log(l.ctx, mlvl, msg)
}
func (l *mlogger) Level() kgo.LogLevel {