Merge pull request #118 from jwetzell/fix/format-redis-client-logging

cleanup redis logging
This commit is contained in:
Joel Wetzell
2026-03-23 20:17:52 -05:00
committed by GitHub

View File

@@ -68,7 +68,13 @@ func (rc *RedisClient) Type() string {
return rc.config.Type
}
func (rc *RedisClient) Printf(ctx context.Context, format string, v ...interface{}) {
msg := fmt.Sprintf(format, v...)
rc.logger.Debug(msg)
}
func (rc *RedisClient) Start(ctx context.Context) error {
redis.SetLogger(rc)
rc.logger.Debug("running")
router, ok := ctx.Value(common.RouterContextKey).(common.RouteIO)