You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
367 B
20 lines
367 B
package gocache
|
|
|
|
import "log"
|
|
|
|
func (r *Redis) setLog(key string) {
|
|
if r.config.Debug == true {
|
|
log.Printf("gocache [%s] set\n", key)
|
|
}
|
|
}
|
|
func (r *Redis) getLog(key string) {
|
|
if r.config.Debug == true {
|
|
log.Printf("gocache [%s] get\n", key)
|
|
}
|
|
}
|
|
func (r *Redis) delLog(key ...string) {
|
|
if r.config.Debug == true {
|
|
log.Printf("gocache [%s] del\n", key)
|
|
}
|
|
}
|