forked from TrueCloudLab/frostfs-http-gw
add Println and Printf for zapLogger
This commit is contained in:
parent
772314d156
commit
cee4e6239f
1 changed files with 8 additions and 0 deletions
|
@ -114,6 +114,14 @@ func (z *zapLogger) Infof(format string, args ...interface{}) {
|
|||
z.log.Sugar().Infof(format, args...)
|
||||
}
|
||||
|
||||
func (z *zapLogger) Println(args ...interface{}) {
|
||||
z.log.Sugar().Info(args...)
|
||||
}
|
||||
|
||||
func (z *zapLogger) Printf(format string, args ...interface{}) {
|
||||
z.log.Sugar().Infof(format, args...)
|
||||
}
|
||||
|
||||
func (z *zapLogger) Warning(args ...interface{}) {
|
||||
z.log.Sugar().Warn(args...)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue