Skip to content

Commit

Permalink
fix logger
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksraiden committed Jan 5, 2025
1 parent b13359b commit 3659fa7
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions store/engine/raft/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,43 @@ func (r Logger) Warning(v ...interface{}) {
func (r Logger) Warningf(format string, v ...interface{}) {
r.SugaredLogger.Warnf(format, v...)
}

func (r Logger) Debug(v ...interface{}) {
r.SugaredLogger.Debug(v...)
}

func (r Logger) Debugf(format string, v ...interface{}) {
r.SugaredLogger.Debugf(format, v...)
}

func (r Logger) Error(v ...interface{}) {
r.SugaredLogger.Error(v...)
}

func (r Logger) Errorf(format string, v ...interface{}) {
r.SugaredLogger.Errorf(format, v...)
}

func (r Logger) Info(v ...interface{}) {
r.SugaredLogger.Info(v...)
}

func (r Logger) Infof(format string, v ...interface{}) {
r.SugaredLogger.Infof(format, v...)
}

func (r Logger) Fatal(v ...interface{}) {
r.SugaredLogger.Fatal(v...)
}

func (r Logger) Fatalf(format string, v ...interface{}) {
r.SugaredLogger.Fatalf(format, v...)
}

func (r Logger) Panic(v ...interface{}) {
r.SugaredLogger.Panic(v...)
}

func (r Logger) Panicf(format string, v ...interface{}) {
r.SugaredLogger.Panicf(format, v...)
}

0 comments on commit 3659fa7

Please sign in to comment.