kubernetes/vendor/go.etcd.io/etcd/server/v3/etcdserver/zap_raft.go

// NewRaftLogger builds "raft.Logger" from "*zap.Config".
func NewRaftLogger(lcfg *zap.Config) (raft.Logger, error) {}

// NewRaftLoggerZap converts "*zap.Logger" to "raft.Logger".
func NewRaftLoggerZap(lg *zap.Logger) raft.Logger {}

// NewRaftLoggerFromZapCore creates "raft.Logger" from "zap.Core"
// and "zapcore.WriteSyncer".
func NewRaftLoggerFromZapCore(cr zapcore.Core, syncer zapcore.WriteSyncer) raft.Logger {}

type zapRaftLogger

func (zl *zapRaftLogger) Debug(args ...interface{}

func (zl *zapRaftLogger) Debugf(format string, args ...interface{}

func (zl *zapRaftLogger) Error(args ...interface{}

func (zl *zapRaftLogger) Errorf(format string, args ...interface{}

func (zl *zapRaftLogger) Info(args ...interface{}

func (zl *zapRaftLogger) Infof(format string, args ...interface{}

func (zl *zapRaftLogger) Warning(args ...interface{}

func (zl *zapRaftLogger) Warningf(format string, args ...interface{}

func (zl *zapRaftLogger) Fatal(args ...interface{}

func (zl *zapRaftLogger) Fatalf(format string, args ...interface{}

func (zl *zapRaftLogger) Panic(args ...interface{}

func (zl *zapRaftLogger) Panicf(format string, args ...interface{}