Skip to content

Commit

Permalink
feat: add debugf for log package (#87)
Browse files Browse the repository at this point in the history
Co-authored-by: yakovliu <yakovliu@tencent.com>
  • Loading branch information
MrLYC and yakovliu committed Jun 16, 2022
1 parent 413b903 commit 12b1d8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ func getLogger() *zap.SugaredLogger {
return logger
}

func Debugf(template string, args ...interface{}) {
getLogger().Debugf(template, args...)
}

func Infof(template string, args ...interface{}) {
getLogger().Infof(template, args...)
}
Expand Down

0 comments on commit 12b1d8b

Please sign in to comment.