cleanup redis logging

This commit is contained in:
Joel Wetzell
2026-03-23 20:16:09 -05:00
parent 53e5e7db9e
commit 6c9d1b317d

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)