connID to md5

test-errcode
wangchuxiao 3 years ago
parent 2986227f1c
commit 8b3ca92457

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

Loading…
Cancel
Save