mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-03 16:45:59 +08:00
zklogger update
This commit is contained in:
@@ -7,6 +7,10 @@ import (
|
||||
|
||||
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