Customizing go-redis internal logger

Go-redis has its own internal logger, that it uses to log events such as https://github.com/go-redis/redis/blob/fa76dd0e87967c95e6f7bef33a230ed2c263fe2d/ring.go#L263.

I would like to use my own customized zap logger for this internal logging. Is it possible to achieve this? I looked at the SetLogger() function of go-redis, but it only accepts a parameter of type *log.Logger, which is a standard go logger.

Actually, I have just realized that this issue has been discussed here. Closing this discussion.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.