1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

issue-1279 update logging

This commit is contained in:
Vitaliy Kudryk
2020-03-30 17:02:17 +03:00
parent 9a49a4d91d
commit 39272697aa
2 changed files with 6 additions and 3 deletions

View File

@ -5,4 +5,8 @@ import (
"os"
)
var Logger = log.New(os.Stderr, "redis: ", log.LstdFlags|log.Lshortfile)
type Logging interface {
Printf(format string, v ...interface{})
}
var Logger Logging = log.New(os.Stderr, "redis: ", log.LstdFlags|log.Lshortfile)