mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-19 00:09:02 +08:00
feat: use robot to migrate code
Signed-off-by: kubbot & kubecub <3293172751ysy@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package log
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type ZkLogger struct{}
|
||||
|
||||
func NewZkLogger() *ZkLogger {
|
||||
return &ZkLogger{}
|
||||
}
|
||||
|
||||
func (l *ZkLogger) Printf(format string, a ...interface{}) {
|
||||
ZInfo(context.Background(), "zookeeper output", "msg", fmt.Sprintf(format, a...))
|
||||
}
|
||||
Reference in New Issue
Block a user