[skip ci] Refine logutil comment (#12482)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/12488/head
edward.zeng 2021-11-30 19:45:41 +08:00 committed by GitHub
parent fea1126946
commit 566de56131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ type zapWrapper struct {
logger *zap.Logger
}
// Info logs a message at InfoLevel.
func (w *zapWrapper) Info(args ...interface{}) {
w.logger.WithOptions(zap.AddCallerSkip(1)).Sugar().Info(args...)
}