You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/common/log/zk_logger.go

17 lines
267 B

1 year ago
package log
import (
"context"
"fmt"
)
type ZkLogger struct{}
func NewZkLogger() *ZkLogger {
return &ZkLogger{}
}
1 year ago
func (l *ZkLogger) Printf(format string, a ...interface{}) {
1 year ago
ZInfo(context.Background(), "zookeeper output", "msg", fmt.Sprintf(format, a...))
1 year ago
}