Commit 129c6dcd authored by AlexStocks's avatar AlexStocks

fmt.Print -> log.Debug

parent effbd7e4
......@@ -275,7 +275,7 @@ func (t *gettyTCPConn) read(p []byte) (int, error) {
}
length, err = t.reader.Read(p)
fmt.Printf("compress connection now:%s, length:%d, err:%s\n", currentTime, length, err)
log.Debug("now:%s, length:%d, err:%s\n", currentTime, length, err)
atomic.AddUint32(&t.readCount, uint32(length))
return length, err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment