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

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

@liweiv

Description

@liweiv
 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 }

修改后可以运行

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions