redis/internal/log.go

13 lines
193 B
Go
Raw Normal View History

2016-04-09 14:52:01 +03:00
package internal
import (
"log"
2019-06-17 12:32:40 +03:00
"os"
2016-04-09 14:52:01 +03:00
)
2020-03-30 17:02:17 +03:00
type Logging interface {
Printf(format string, v ...interface{})
}
var Logger Logging = log.New(os.Stderr, "redis: ", log.LstdFlags|log.Lshortfile)