connID to md5

This commit is contained in:
wangchuxiao 2023-03-13 19:41:35 +08:00
parent 2986227f1c
commit 8b3ca92457

View File

@ -67,9 +67,5 @@ func NewGormDB() (*gorm.DB, error) {
type Writer struct{}
func (w Writer) Printf(format string, args ...interface{}) {
var s = []string{format}
for _, v := range args {
s = append(s, fmt.Sprintf("%v", v))
}
log.ZDebug(context.Background(), "msg", s)
log.ZDebug(context.Background(), "msg", fmt.Sprintf(format, args))
}