mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
connID to md5
This commit is contained in:
parent
2986227f1c
commit
8b3ca92457
@ -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))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user