Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

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

Open
liweiv opened this issue Dec 5, 2017 · 0 comments
Open

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

liweiv opened this issue Dec 5, 2017 · 0 comments
Labels

Comments

@liweiv
Copy link

liweiv commented Dec 5, 2017

 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 }

修改后可以运行

@lunny lunny added the bug label Dec 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants