mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-28 12:56:35 +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{}
|
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…
x
Reference in New Issue
Block a user