chore: refactor (#2545)

* chore: refactor

* chore: refactor
This commit is contained in:
Kevin Wan
2022-10-22 22:52:40 +08:00
committed by GitHub
parent 7fe2492009
commit 9cadab2684
4 changed files with 26 additions and 20 deletions

View File

@@ -149,7 +149,7 @@ func logDuration(ctx context.Context, cmds []red.Cmder, duration time.Duration)
}
build.WriteString(mapping.Repr(arg))
}
buf.WriteString(mapping.Repr(build.String()))
buf.WriteString(build.String())
}
logx.WithContext(ctx).WithDuration(duration).Slowf("[REDIS] slowcall on executing: %s", buf.String())
}