2
0
mirror of synced 2025-02-23 14:18:13 +00:00

Make cmd/tracker-announce output a bit easier to consume

This commit is contained in:
Matt Joiner 2017-08-26 12:38:08 +10:00
parent b2d2c524c6
commit dfb7f5b00c

View File

@ -6,6 +6,8 @@ import (
"math"
"strings"
"github.com/davecgh/go-spew/spew"
"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/metainfo"
"github.com/anacrolix/torrent/tracker"
@ -42,7 +44,7 @@ func main() {
log.Print(err)
continue
}
log.Printf("%q: %#v", tURI, resp)
log.Printf("%q: %s", tURI, spew.Sdump(resp))
}
}
}