Simplify Logger interface

This commit is contained in:
Ken Hibino
2020-05-05 22:10:11 -07:00
parent 26b78136ba
commit b63476ddc8
9 changed files with 277 additions and 96 deletions

View File

@@ -5,7 +5,6 @@
package asynq
import (
"os"
"sort"
"testing"
@@ -24,7 +23,7 @@ const (
redisDB = 14
)
var testLogger = log.NewLogger(os.Stderr)
var testLogger = log.NewLogger(nil)
func setup(tb testing.TB) *redis.Client {
tb.Helper()