xorm-redis-cache icon indicating copy to clipboard operation
xorm-redis-cache copied to clipboard

兼容性问题 core.Logger 不再支持Errf 而是 Errorf

Open liweiv opened this issue 8 years ago • 0 comments

 83 func (c *RedisCacher) logErrf(format string, contents ...interface{}) {
 84         if c.Logger != nil {
 85                 c.Logger.Errorf(fmt.Sprintf("%s %s", LOGGING_PREFIX, format), contents...)
 86                 //c.Logger.Errf(fmt.Sprintf("%s %s", LOGGING_PREFIX, format), contents...)
 87         }
 88 }

修改后可以运行

liweiv avatar Dec 05 '17 07:12 liweiv