You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by al...@apache.org on 2025/01/05 16:54:15 UTC

(kvrocks-controller) branch aleksraiden-patch-raft-logger-interface created (now 4dca520)

This is an automated email from the ASF dual-hosted git repository.

aleksraiden pushed a change to branch aleksraiden-patch-raft-logger-interface
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git


      at 4dca520  Update logger.go

This branch includes the following new commits:

     new 4dca520  Update logger.go

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(kvrocks-controller) 01/01: Update logger.go

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aleksraiden pushed a commit to branch aleksraiden-patch-raft-logger-interface
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git

commit 4dca52094e771f0dea3b5cd7f310f040fb6c572f
Author: Aleks Lozovyuk <al...@gmail.com>
AuthorDate: Sun Jan 5 19:54:09 2025 +0300

    Update logger.go
---
 store/engine/raft/logger.go | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/store/engine/raft/logger.go b/store/engine/raft/logger.go
index db61748..c7bf7db 100644
--- a/store/engine/raft/logger.go
+++ b/store/engine/raft/logger.go
@@ -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...)
+}