From 73ad84252c7afa2a2d24ba55ae51d6c972148e7c Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 2 Mar 2016 13:37:28 +0200 Subject: [PATCH] Use package logger. --- redis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redis.go b/redis.go index f37c97b8..5dbaac0a 100644 --- a/redis.go +++ b/redis.go @@ -27,14 +27,14 @@ func (c *baseClient) putConn(cn *conn, err error) bool { if isBadConn(err) { err = c.connPool.Remove(cn, err) if err != nil { - log.Printf("pool.Remove failed: %s", err) + Logger.Printf("pool.Remove failed: %s", err) } return false } err = c.connPool.Put(cn) if err != nil { - log.Printf("pool.Put failed: %s", err) + Logger.Printf("pool.Put failed: %s", err) } return true }