Audit use of log.Print and change to Debug, Log, or ErrorLog as appropriate

This commit is contained in:
Nick Craig-Wood
2016-06-06 21:23:54 +01:00
parent 4882b8ba67
commit 67d0375b98
7 changed files with 32 additions and 34 deletions
+1 -2
View File
@@ -6,7 +6,6 @@ import (
"bytes"
"fmt"
"io"
"log"
"sort"
"strings"
"sync"
@@ -147,7 +146,7 @@ Elapsed time: %10v
// Log outputs the StatsInfo to the log
func (s *StatsInfo) Log() {
log.Printf("%v\n", s)
Log(nil, "%v\n", s)
}
// Bytes updates the stats for bytes bytes