1
0
mirror of https://github.com/taigrr/go-fastping synced 2025-01-18 05:03:15 -08:00

Remove debug logging

Importing this package should not change the behavior of the log package.

Closes #1.
This commit is contained in:
Matt Jibson 2014-07-14 12:08:00 -04:00 committed by Tatsushi Demachi
parent 94491434bc
commit e7d04da2f8

View File

@ -44,11 +44,6 @@ import (
"time" "time"
) )
func init() {
log.SetFlags(log.Lmicroseconds)
log.SetPrefix("Debug: ")
}
func timeToBytes(t time.Time) []byte { func timeToBytes(t time.Time) []byte {
nsec := t.UnixNano() nsec := t.UnixNano()
b := make([]byte, 8) b := make([]byte, 8)