[#575] writecache: Fix log level for badger writecache
Some checks failed
Build / Build Components (1.19) (pull_request) Failing after 3s
Build / Build Components (1.20) (pull_request) Failing after 3s
Tests and linters / Lint (pull_request) Failing after 3s
Tests and linters / Tests (1.19) (pull_request) Failing after 2s
Tests and linters / Tests (1.20) (pull_request) Failing after 3s
Tests and linters / Tests with -race (pull_request) Failing after 3s
Tests and linters / Staticcheck (pull_request) Failing after 3s
Vulncheck / Vulncheck (pull_request) Failing after 2s
Some checks failed
Build / Build Components (1.19) (pull_request) Failing after 3s
Build / Build Components (1.20) (pull_request) Failing after 3s
Tests and linters / Lint (pull_request) Failing after 3s
Tests and linters / Tests (1.19) (pull_request) Failing after 2s
Tests and linters / Tests (1.20) (pull_request) Failing after 3s
Tests and linters / Tests with -race (pull_request) Failing after 3s
Tests and linters / Staticcheck (pull_request) Failing after 3s
Vulncheck / Vulncheck (pull_request) Failing after 2s
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
5bbfebba2d
commit
031aa3c529
1 changed files with 3 additions and 3 deletions
|
@ -24,13 +24,13 @@ func (w badgerLoggerWrapper) Errorf(msg string, args ...any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w badgerLoggerWrapper) Warningf(msg string, args ...any) {
|
func (w badgerLoggerWrapper) Warningf(msg string, args ...any) {
|
||||||
w.l.Error(fmt.Sprintf(msg, args...))
|
w.l.Warn(fmt.Sprintf(msg, args...))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w badgerLoggerWrapper) Infof(msg string, args ...any) {
|
func (w badgerLoggerWrapper) Infof(msg string, args ...any) {
|
||||||
w.l.Error(fmt.Sprintf(msg, args...))
|
w.l.Info(fmt.Sprintf(msg, args...))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w badgerLoggerWrapper) Debugf(msg string, args ...any) {
|
func (w badgerLoggerWrapper) Debugf(msg string, args ...any) {
|
||||||
w.l.Error(fmt.Sprintf(msg, args...))
|
w.l.Debug(fmt.Sprintf(msg, args...))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue