func NewRaftLogger(lcfg *zap.Config) (raft.Logger, error) { … }
func NewRaftLoggerZap(lg *zap.Logger) raft.Logger { … }
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{ … }